{
  "_id": "6ad2a05890c8bbdf41a50b60",
  "Package": "admvn",
  "Type": "Package",
  "Title": "Multivariate Normal CDF and SUN Density with CppAD Derivatives",
  "Version": "0.2.0",
  "Authors@R": "person(given = \"Patrick\", family = \"Brown\",\nemail = \"patrick.brown@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Evaluates the cumulative distribution function of the\nmultivariate normal distribution using specialized\nbivariate/trivariate algorithms for dimension <= 3 and Genz\nquasi-Monte Carlo for higher dimensions, with gradient and\nHessian with respect to the upper integration limits computed\nvia CppAD automatic differentiation. Also provides the\nSUN(2,2), SUN(3,3) and SUN(4,4) densities with gradient and\nHessian with respect to a block-Cholesky parameter vector,\nGauss-Hermite utilities, and KL minimisation of SUN\napproximations on weighted quadrature.",
  "License": "GPL (>= 2)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "SystemRequirements": "OpenMP",
  "Roxygen": "list(markdown = TRUE)",
  "NeedsCompilation": "yes",
  "Collate": "'000.R' 'admvn-package.R' 'RcppExports.R' 'pack_genz_ch.R'\n'pmvn.R' 'pmvn_fun.R' 'make_sun_params.R'\n'make_sun_hs_params.R' 'make_sun22_params.R'\n'make_sun22_hs_params.R' 'make_sun32_hs_params.R'\n'make_sun42_hs_params.R' 'make_sun52_hs_params.R'\n'make_sun43_hs_params.R' 'make_sun44_params.R'\n'make_sun44_hs_params.R' 'dsun.R' 'dsun_hs.R' 'dsun22.R'\n'dsun22_hs.R' 'dsun32_hs.R' 'dsun42_hs.R' 'dsun52_hs.R'\n'dsun43_hs.R' 'dsun44.R' 'dsun44_hs.R' 'gh_points.R'\n'sun_bounds.R' 'sun_starts.R' 'sun_kl.R'",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://eborgnine.r-universe.dev",
  "Date/Publication": "2026-10-16 21:08:16 UTC",
  "RemoteUrl": "https://github.com/eborgnine/adlaplace",
  "RemoteRef": "main",
  "RemoteSha": "402cb9c50ba20f12ba8439d11cb9812574783497",
  "RemoteSubdir": "admvn",
  "Packaged": {
    "Date": "2026-10-16 21:43:13 UTC",
    "User": "root"
  },
  "Author": "Patrick Brown [aut, cre, cph]",
  "Maintainer": "Patrick Brown <patrick.brown@gmail.com>",
  "_user": "eborgnine",
  "_type": "src",
  "_file": "admvn_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6ba26b50a2827fb4e6e6b9b01eab4a8943f6de9af0f76f499da98b612d1f45c0",
  "_filesize": 2469558,
  "_sha256": "6ba26b50a2827fb4e6e6b9b01eab4a8943f6de9af0f76f499da98b612d1f45c0",
  "_expires": "2027-01-24T22:08:21.000Z",
  "_created": "2026-10-16T21:43:13.000Z",
  "_published": "2026-10-16T22:08:23.959Z",
  "_buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117210595808,
      "time": 257,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12076324887"
    },
    {
      "job": 117210595829,
      "time": 269,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12076414541"
    },
    {
      "job": 117210596003,
      "time": 278,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12077472229"
    },
    {
      "job": 117210595782,
      "time": 229,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12076882761"
    },
    {
      "job": 117210595880,
      "time": 269,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12077728479"
    },
    {
      "job": 117210595897,
      "time": 697,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "12078355902"
    },
    {
      "job": 117210595774,
      "time": 235,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12077372750"
    },
    {
      "job": 117210595792,
      "time": 495,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12077409796"
    },
    {
      "job": 117206493598,
      "time": 675,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12076229272"
    },
    {
      "job": 117210595767,
      "time": 170,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12076399455"
    },
    {
      "job": 117210595904,
      "time": 409,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12077671539"
    },
    {
      "job": 117210595763,
      "time": 307,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "12076553709"
    },
    {
      "job": 117210595898,
      "time": 342,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "12077371806"
    },
    {
      "job": 117210595876,
      "time": 422,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12077207936"
    },
    {
      "job": 117210595894,
      "time": 356,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "12077612223"
    }
  ],
  "_upstream": "https://github.com/eborgnine/adlaplace",
  "_commit": {
    "id": "402cb9c50ba20f12ba8439d11cb9812574783497",
    "author": "eborgnine <patrick.borgnine@gmail.com>",
    "committer": "eborgnine <patrick.borgnine@gmail.com>",
    "message": "doign stuff for fem mgp\n",
    "time": 1792184896
  },
  "_maintainer": {
    "name": "Patrick Brown",
    "email": "patrick.brown@gmail.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RCppAD",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "trustOptim",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "RCppAD",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "statmod",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "mnormt",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "sn",
      "role": "Suggests"
    },
    {
      "package": "trustOptim",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "optimParallel",
      "role": "Suggests"
    }
  ],
  "_owner": "eborgnine",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 13
    },
    {
      "week": "2025-43",
      "n": 4
    },
    {
      "week": "2025-44",
      "n": 18
    },
    {
      "week": "2025-45",
      "n": 59
    },
    {
      "week": "2025-46",
      "n": 11
    },
    {
      "week": "2025-47",
      "n": 22
    },
    {
      "week": "2025-48",
      "n": 8
    },
    {
      "week": "2025-49",
      "n": 11
    },
    {
      "week": "2025-50",
      "n": 12
    },
    {
      "week": "2026-04",
      "n": 15
    },
    {
      "week": "2026-05",
      "n": 2
    },
    {
      "week": "2026-06",
      "n": 6
    },
    {
      "week": "2026-07",
      "n": 16
    },
    {
      "week": "2026-08",
      "n": 11
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-10",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 31
    },
    {
      "week": "2026-12",
      "n": 5
    },
    {
      "week": "2026-13",
      "n": 17
    },
    {
      "week": "2026-14",
      "n": 19
    },
    {
      "week": "2026-15",
      "n": 7
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-17",
      "n": 12
    },
    {
      "week": "2026-18",
      "n": 99
    },
    {
      "week": "2026-19",
      "n": 4
    },
    {
      "week": "2026-21",
      "n": 11
    },
    {
      "week": "2026-22",
      "n": 4
    },
    {
      "week": "2026-23",
      "n": 3
    },
    {
      "week": "2026-24",
      "n": 24
    },
    {
      "week": "2026-25",
      "n": 2
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 2
    },
    {
      "week": "2026-28",
      "n": 6
    },
    {
      "week": "2026-29",
      "n": 70
    },
    {
      "week": "2026-30",
      "n": 26
    },
    {
      "week": "2026-31",
      "n": 12
    },
    {
      "week": "2026-32",
      "n": 6
    },
    {
      "week": "2026-33",
      "n": 3
    },
    {
      "week": "2026-34",
      "n": 9
    },
    {
      "week": "2026-35",
      "n": 17
    },
    {
      "week": "2026-37",
      "n": 28
    },
    {
      "week": "2026-38",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 9
    },
    {
      "week": "2026-40",
      "n": 8
    },
    {
      "week": "2026-41",
      "n": 10
    },
    {
      "week": "2026-42",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "eborgnine",
      "count": 954,
      "uuid": 5818919
    },
    {
      "user": "samperochkin",
      "count": 33,
      "uuid": 25728471
    },
    {
      "user": "cursoragent",
      "count": 3,
      "uuid": 199161495
    }
  ],
  "_userbio": {
    "uuid": 5818919,
    "type": "user",
    "name": "eborgnine",
    "followers": 7,
    "description": "Patrick Brown"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/admvn"
  },
  "_devurl": "https://github.com/eborgnine/adlaplace",
  "_searchresults": 0,
  "_topics": [
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/admvn.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "dsun",
    "dsun_fun",
    "dsun_hs",
    "dsun_hs_fun",
    "dsun22",
    "dsun22_fun",
    "dsun22_hs",
    "dsun22_hs_fun",
    "dsun32_hs",
    "dsun32_hs_fun",
    "dsun42_hs",
    "dsun42_hs_fun",
    "dsun43_hs",
    "dsun43_hs_fun",
    "dsun44",
    "dsun44_fun",
    "dsun44_hs",
    "dsun44_hs_fun",
    "dsun52_hs",
    "dsun52_hs_fun",
    "evaluate_sun22_slice",
    "evaluate_sun32_hs_slice",
    "evaluate_sun33_hs_slice",
    "evaluate_sun33_slice",
    "evaluate_sun42_hs_slice",
    "evaluate_sun43_hs_slice",
    "evaluate_sun44_slice",
    "evaluate_sun52_hs_slice",
    "fit_sun22_quad",
    "fit_sun32_hs_quad",
    "fit_sun33_hs_quad",
    "fit_sun33_quad",
    "fit_sun42_hs_quad",
    "fit_sun43_hs_quad",
    "fit_sun44_quad",
    "fit_sun52_hs_quad",
    "gh_points",
    "make_sun_hs_params",
    "make_sun_params",
    "make_sun22_hs_params",
    "make_sun22_hs_start_from_gh",
    "make_sun22_hs_start_from_normal",
    "make_sun22_params",
    "make_sun22_start_from_gh",
    "make_sun22_start_from_normal",
    "make_sun32_hs_params",
    "make_sun32_hs_start_from_gh",
    "make_sun32_hs_start_from_normal",
    "make_sun33_hs_start_from_gh",
    "make_sun33_hs_start_from_normal",
    "make_sun33_start_from_gh",
    "make_sun33_start_from_normal",
    "make_sun42_hs_params",
    "make_sun42_hs_start_from_gh",
    "make_sun42_hs_start_from_normal",
    "make_sun43_hs_params",
    "make_sun43_hs_start_from_gh",
    "make_sun43_hs_start_from_normal",
    "make_sun44_hs_params",
    "make_sun44_hs_start_from_gh",
    "make_sun44_hs_start_from_normal",
    "make_sun44_params",
    "make_sun44_start_from_gh",
    "make_sun44_start_from_normal",
    "make_sun52_hs_params",
    "make_sun52_hs_start_from_gh",
    "make_sun52_hs_start_from_normal",
    "pack_genz_ch",
    "pmvn",
    "pmvn_fun",
    "print_sun_kl_fit",
    "sun_mle",
    "sun22_bounds",
    "sun22_hs_bounds",
    "sun32_hs_bounds",
    "sun33_bounds",
    "sun33_hs_bounds",
    "sun42_hs_bounds",
    "sun43_hs_bounds",
    "sun44_bounds",
    "sun44_hs_bounds",
    "sun52_hs_bounds",
    "weighted_cov",
    "weighted_mean"
  ],
  "_help": [
    {
      "page": "admvn-package",
      "title": "Multivariate normal CDF and SUN density with CppAD derivatives",
      "topics": [
        "admvn-package",
        "admvn"
      ]
    },
    {
      "page": "dsun",
      "title": "SUN(3,3) density with derivatives",
      "topics": [
        "dsun"
      ]
    },
    {
      "page": "dsun_fun",
      "title": "Create a reusable SUN(3,3) log-likelihood tape",
      "topics": [
        "dsun_fun"
      ]
    },
    {
      "page": "dsun_hs",
      "title": "SUN(3,3) density with joint hyperspherical parameterization",
      "topics": [
        "dsun_hs"
      ]
    },
    {
      "page": "dsun_hs_fun",
      "title": "Create a reusable SUN(3,3) hyperspherical log-likelihood tape",
      "topics": [
        "dsun_hs_fun"
      ]
    },
    {
      "page": "dsun22",
      "title": "SUN(2,2) density with derivatives",
      "topics": [
        "dsun22"
      ]
    },
    {
      "page": "dsun22_fun",
      "title": "Create a reusable SUN(2,2) log-likelihood tape",
      "topics": [
        "dsun22_fun"
      ]
    },
    {
      "page": "dsun22_hs",
      "title": "SUN(2,2) density with joint hyperspherical parameterization",
      "topics": [
        "dsun22_hs"
      ]
    },
    {
      "page": "dsun22_hs_fun",
      "title": "Create a reusable SUN(2,2) hyperspherical likelihood tape",
      "topics": [
        "dsun22_hs_fun"
      ]
    },
    {
      "page": "dsun32_hs",
      "title": "SUN(3,2) density with joint hyperspherical parameterization",
      "topics": [
        "dsun32_hs"
      ]
    },
    {
      "page": "dsun32_hs_fun",
      "title": "Create a reusable SUN(3,2) hyperspherical likelihood tape",
      "topics": [
        "dsun32_hs_fun"
      ]
    },
    {
      "page": "dsun42_hs",
      "title": "SUN(4,2) density with joint hyperspherical parameterization",
      "topics": [
        "dsun42_hs"
      ]
    },
    {
      "page": "dsun42_hs_fun",
      "title": "Create a reusable SUN(4,2) hyperspherical likelihood tape",
      "topics": [
        "dsun42_hs_fun"
      ]
    },
    {
      "page": "dsun43_hs",
      "title": "SUN(4,3) density with joint hyperspherical parameterization",
      "topics": [
        "dsun43_hs"
      ]
    },
    {
      "page": "dsun43_hs_fun",
      "title": "Create a reusable SUN(4,3) hyperspherical likelihood tape",
      "topics": [
        "dsun43_hs_fun"
      ]
    },
    {
      "page": "dsun44",
      "title": "SUN(4,4) density with derivatives",
      "topics": [
        "dsun44"
      ]
    },
    {
      "page": "dsun44_fun",
      "title": "Create a reusable SUN(4,4) log-likelihood tape",
      "topics": [
        "dsun44_fun"
      ]
    },
    {
      "page": "dsun44_hs",
      "title": "SUN(4,4) density with joint hyperspherical parameterization",
      "topics": [
        "dsun44_hs"
      ]
    },
    {
      "page": "dsun44_hs_fun",
      "title": "Create a reusable SUN(4,4) hyperspherical likelihood tape",
      "topics": [
        "dsun44_hs_fun"
      ]
    },
    {
      "page": "dsun52_hs",
      "title": "SUN(5,2) density with joint hyperspherical parameterization",
      "topics": [
        "dsun52_hs"
      ]
    },
    {
      "page": "dsun52_hs_fun",
      "title": "Create a reusable SUN(5,2) hyperspherical likelihood tape",
      "topics": [
        "dsun52_hs_fun"
      ]
    },
    {
      "page": "evaluate_sun22_slice",
      "title": "Slice KL / cross-entropy of a SUN(2,2) vs a weighted target",
      "topics": [
        "evaluate_sun22_slice"
      ]
    },
    {
      "page": "evaluate_sun32_hs_slice",
      "title": "Slice KL / cross-entropy of a SUN(3,2) hyperspherical fit",
      "topics": [
        "evaluate_sun32_hs_slice"
      ]
    },
    {
      "page": "evaluate_sun33_hs_slice",
      "title": "Slice KL / cross-entropy of a SUN(3,3) hyperspherical vs a weighted target",
      "topics": [
        "evaluate_sun33_hs_slice"
      ]
    },
    {
      "page": "evaluate_sun33_slice",
      "title": "Slice KL / cross-entropy of a SUN(3,3) vs a weighted target",
      "topics": [
        "evaluate_sun33_slice"
      ]
    },
    {
      "page": "evaluate_sun42_hs_slice",
      "title": "Slice KL / cross-entropy of a SUN(4,2) hyperspherical fit",
      "topics": [
        "evaluate_sun42_hs_slice"
      ]
    },
    {
      "page": "evaluate_sun43_hs_slice",
      "title": "Slice KL / cross-entropy of a SUN(4,3) hyperspherical fit",
      "topics": [
        "evaluate_sun43_hs_slice"
      ]
    },
    {
      "page": "evaluate_sun44_slice",
      "title": "Slice KL / cross-entropy of a SUN(4,4) vs a weighted target",
      "topics": [
        "evaluate_sun44_slice"
      ]
    },
    {
      "page": "evaluate_sun52_hs_slice",
      "title": "Slice KL / cross-entropy of a SUN(5,2) hyperspherical fit",
      "topics": [
        "evaluate_sun52_hs_slice"
      ]
    },
    {
      "page": "fit_sun22_quad",
      "title": "Fit SUN(2,2) by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun22_quad"
      ]
    },
    {
      "page": "fit_sun32_hs_quad",
      "title": "Fit SUN(3,2) hyperspherical by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun32_hs_quad"
      ]
    },
    {
      "page": "fit_sun33_hs_quad",
      "title": "Fit SUN(3,3) hyperspherical by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun33_hs_quad"
      ]
    },
    {
      "page": "fit_sun33_quad",
      "title": "Fit SUN(3,3) by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun33_quad"
      ]
    },
    {
      "page": "fit_sun42_hs_quad",
      "title": "Fit SUN(4,2) hyperspherical by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun42_hs_quad"
      ]
    },
    {
      "page": "fit_sun43_hs_quad",
      "title": "Fit SUN(4,3) hyperspherical by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun43_hs_quad"
      ]
    },
    {
      "page": "fit_sun44_quad",
      "title": "Fit SUN(4,4) by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun44_quad"
      ]
    },
    {
      "page": "fit_sun52_hs_quad",
      "title": "Fit SUN(5,2) hyperspherical by minimising KL on a weighted quadrature",
      "topics": [
        "fit_sun52_hs_quad"
      ]
    },
    {
      "page": "gh_points",
      "title": "Gauss-Hermite nodes and weights under a multivariate normal",
      "topics": [
        "gh_points"
      ]
    },
    {
      "page": "make_sun_hs_params",
      "title": "Build SUN(3,3) dp from a joint hyperspherical parameter vector",
      "topics": [
        "make_sun_hs_params"
      ]
    },
    {
      "page": "make_sun_params",
      "title": "Build SUN distribution parameters from a free parameter vector",
      "topics": [
        "make_sun_params"
      ]
    },
    {
      "page": "make_sun22_hs_params",
      "title": "Build SUN(2,2) parameters from a joint hyperspherical vector",
      "topics": [
        "make_sun22_hs_params"
      ]
    },
    {
      "page": "make_sun22_hs_start_from_gh",
      "title": "SUN(2,2) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun22_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun22_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(2,2) hyperspherical start",
      "topics": [
        "make_sun22_hs_start_from_normal"
      ]
    },
    {
      "page": "make_sun22_params",
      "title": "Build SUN(2,2) distribution parameters from a free parameter vector",
      "topics": [
        "make_sun22_params"
      ]
    },
    {
      "page": "make_sun22_start_from_gh",
      "title": "SUN(2,2) start from weighted sample moments on a quadrature",
      "topics": [
        "make_sun22_start_from_gh"
      ]
    },
    {
      "page": "make_sun22_start_from_normal",
      "title": "Map mean and covariance to a SUN(2,2) start (zero / tiny skewness)",
      "topics": [
        "make_sun22_start_from_normal"
      ]
    },
    {
      "page": "make_sun32_hs_params",
      "title": "Build SUN(3,2) parameters from a joint hyperspherical vector",
      "topics": [
        "make_sun32_hs_params"
      ]
    },
    {
      "page": "make_sun32_hs_start_from_gh",
      "title": "SUN(3,2) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun32_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun32_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(3,2) hyperspherical start",
      "topics": [
        "make_sun32_hs_start_from_normal"
      ]
    },
    {
      "page": "make_sun33_hs_start_from_gh",
      "title": "SUN(3,3) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun33_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun33_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(3,3) hyperspherical start",
      "topics": [
        "make_sun33_hs_start_from_normal"
      ]
    },
    {
      "page": "make_sun33_start_from_gh",
      "title": "SUN(3,3) start from weighted sample moments on a quadrature",
      "topics": [
        "make_sun33_start_from_gh"
      ]
    },
    {
      "page": "make_sun33_start_from_normal",
      "title": "Map mean and covariance to a SUN(3,3) start (zero / tiny skewness)",
      "topics": [
        "make_sun33_start_from_normal"
      ]
    },
    {
      "page": "make_sun42_hs_params",
      "title": "Build SUN(4,2) parameters from a joint hyperspherical vector",
      "topics": [
        "make_sun42_hs_params"
      ]
    },
    {
      "page": "make_sun42_hs_start_from_gh",
      "title": "SUN(4,2) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun42_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun42_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(4,2) hyperspherical start",
      "topics": [
        "make_sun42_hs_start_from_normal"
      ]
    },
    {
      "page": "make_sun43_hs_params",
      "title": "Build SUN(4,3) parameters from a joint hyperspherical vector",
      "topics": [
        "make_sun43_hs_params"
      ]
    },
    {
      "page": "make_sun43_hs_start_from_gh",
      "title": "SUN(4,3) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun43_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun43_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(4,3) hyperspherical start",
      "topics": [
        "make_sun43_hs_start_from_normal"
      ]
    },
    {
      "page": "make_sun44_hs_params",
      "title": "Build SUN(4,4) parameters from a joint hyperspherical vector",
      "topics": [
        "make_sun44_hs_params"
      ]
    },
    {
      "page": "make_sun44_hs_start_from_gh",
      "title": "SUN(4,4) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun44_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun44_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(4,4) hyperspherical start",
      "topics": [
        "make_sun44_hs_start_from_normal"
      ]
    },
    {
      "page": "make_sun44_params",
      "title": "Build SUN(4,4) distribution parameters from a free parameter vector",
      "topics": [
        "make_sun44_params"
      ]
    },
    {
      "page": "make_sun44_start_from_gh",
      "title": "SUN(4,4) start from weighted sample moments on a quadrature",
      "topics": [
        "make_sun44_start_from_gh"
      ]
    },
    {
      "page": "make_sun44_start_from_normal",
      "title": "Map mean and covariance to a SUN(4,4) start (zero / tiny skewness)",
      "topics": [
        "make_sun44_start_from_normal"
      ]
    },
    {
      "page": "make_sun52_hs_params",
      "title": "Build SUN(5,2) parameters from a joint hyperspherical vector",
      "topics": [
        "make_sun52_hs_params"
      ]
    },
    {
      "page": "make_sun52_hs_start_from_gh",
      "title": "SUN(5,2) hyperspherical start from weighted sample moments",
      "topics": [
        "make_sun52_hs_start_from_gh"
      ]
    },
    {
      "page": "make_sun52_hs_start_from_normal",
      "title": "Map mean and covariance to a SUN(5,2) hyperspherical start",
      "topics": [
        "make_sun52_hs_start_from_normal"
      ]
    },
    {
      "page": "pack_genz_ch",
      "title": "Pack covariance into Genz chol and scales",
      "topics": [
        "pack_genz_ch"
      ]
    },
    {
      "page": "pmvn",
      "title": "Multivariate normal CDF with derivatives",
      "topics": [
        "pmvn"
      ]
    },
    {
      "page": "pmvn_fun",
      "title": "Create a reusable MVN CDF tape",
      "topics": [
        "pmvn_fun"
      ]
    },
    {
      "page": "print_sun_kl_fit",
      "title": "Print SUN KL fit diagnostics (including gradient)",
      "topics": [
        "print_sun_kl_fit"
      ]
    },
    {
      "page": "sun_mle",
      "title": "SUN(3,3) MLE via C++ trust-region optimization",
      "topics": [
        "sun_mle"
      ]
    },
    {
      "page": "sun22_bounds",
      "title": "Default L-BFGS-B box constraints for SUN(2,2) parameters",
      "topics": [
        "sun22_bounds"
      ]
    },
    {
      "page": "sun22_hs_bounds",
      "title": "Default box constraints for SUN(2,2) hyperspherical parameters",
      "topics": [
        "sun22_hs_bounds"
      ]
    },
    {
      "page": "sun32_hs_bounds",
      "title": "Default box constraints for SUN(3,2) hyperspherical parameters",
      "topics": [
        "sun32_hs_bounds"
      ]
    },
    {
      "page": "sun33_bounds",
      "title": "Default L-BFGS-B box constraints for SUN(3,3) parameters",
      "topics": [
        "sun33_bounds"
      ]
    },
    {
      "page": "sun33_hs_bounds",
      "title": "Default L-BFGS-B box constraints for SUN(3,3) hyperspherical parameters",
      "topics": [
        "sun33_hs_bounds"
      ]
    },
    {
      "page": "sun42_hs_bounds",
      "title": "Default box constraints for SUN(4,2) hyperspherical parameters",
      "topics": [
        "sun42_hs_bounds"
      ]
    },
    {
      "page": "sun43_hs_bounds",
      "title": "Default box constraints for SUN(4,3) hyperspherical parameters",
      "topics": [
        "sun43_hs_bounds"
      ]
    },
    {
      "page": "sun44_bounds",
      "title": "Default L-BFGS-B box constraints for SUN(4,4) parameters",
      "topics": [
        "sun44_bounds"
      ]
    },
    {
      "page": "sun44_hs_bounds",
      "title": "Default box constraints for SUN(4,4) hyperspherical parameters",
      "topics": [
        "sun44_hs_bounds"
      ]
    },
    {
      "page": "sun52_hs_bounds",
      "title": "Default box constraints for SUN(5,2) hyperspherical parameters",
      "topics": [
        "sun52_hs_bounds"
      ]
    },
    {
      "page": "weighted_cov",
      "title": "Weighted covariance",
      "topics": [
        "weighted_cov"
      ]
    },
    {
      "page": "weighted_mean",
      "title": "Weighted column means",
      "topics": [
        "weighted_mean"
      ]
    }
  ],
  "_readme": "https://github.com/eborgnine/adlaplace/raw/main/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp",
    "RCppAD",
    "RcppEigen",
    "statmod",
    "trustOptim"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "sun_kl.Rmd",
      "filename": "sun_kl.html",
      "title": "SUN(3,3) KL matching and recovery",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "True SUN(3,3)",
        "Discrete target from the true law",
        "Start far from the truth",
        "Minimise KL",
        "Recovery diagnostics",
        "Parameter profiles: AD vs finite-difference gradients"
      ],
      "created": "2026-08-06 21:01:11",
      "modified": "2026-08-06 21:01:11",
      "commits": 1
    },
    {
      "source": "sun_kl_h.Rmd",
      "filename": "sun_kl_h.html",
      "title": "SUN(3,3) KL matching with joint hyperspherical parameterization",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "True SUN(3,3)",
        "Discrete target from the true law",
        "Start far from the truth",
        "Minimise KL",
        "Recovery diagnostics",
        "Parameter profiles: AD vs finite-difference gradients"
      ],
      "created": "2026-08-07 17:52:21",
      "modified": "2026-08-07 17:52:21",
      "commits": 1
    },
    {
      "source": "sun_mle.Rmd",
      "filename": "sun_mle.html",
      "title": "SUN(3,3) maximum likelihood with analytic gradients",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Parameterization",
        "[\\operatorname",
        "Correlation matrices",
        "Skew loadings",
        "sn cross-covariance quantities",
        "Parameter order",
        "Free vector to dp (summary)",
        "Simulation",
        "Build a reusable log-likelihood tape",
        "MLE with optim() and an analytic gradient",
        "MLE with C++ sun_mle() (trustOptim)",
        "Comparison with sn::dsun",
        "Parameter recovery",
        "Gradient check at the fitted MLE"
      ],
      "created": "2026-07-13 14:58:25",
      "modified": "2026-08-07 18:58:13",
      "commits": 17
    },
    {
      "source": "sun_mle_h.Rmd",
      "filename": "sun_mle_h.html",
      "title": "SUN(3,3) MLE with joint hyperspherical parameterization",
      "author": "Patrick Brown",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Parameterization",
        "Unit-row Cholesky from free $z$",
        "[B_",
        "t_",
        "Parameter order",
        "Simulation",
        "Build a reusable log-likelihood tape",
        "MLE with optim() and an analytic gradient",
        "MLE with C++ sun_mle() (trustOptim)",
        "Comparison with sn::dsun",
        "Parameter recovery",
        "Gradient check at the fitted MLE"
      ],
      "created": "2026-08-07 17:52:21",
      "modified": "2026-08-07 18:58:13",
      "commits": 2
    }
  ],
  "_score": 5.264817823009537,
  "_indexed": true,
  "_nocasepkg": "admvn",
  "_universes": [
    "eborgnine"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/080abc27ee12ceddedb7f0484c1857a3de8c1b3f8d6d404197d5afbd4596a798",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/ad57f8f0656307bfdcb00497632a04be99a5afc9bd52b12af6bf571ead58a6f0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T21:47:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/b15064e65adbbd8746c00e8a02f73e43a00bf88e7e58fda024ee9a9159fe6e61",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/6413082ab9c6ec5525e8e2f093dd4eb8010c8d3017a2444b646c77196eb7083e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-16T21:57:04.000Z",
      "arch": "aarch64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/328ee2cc465d701c71d16a1d32a1711560d09f487190756b7c171399e1e299cc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-16T22:00:17.000Z",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/aa097f277c90b983ba3222d3d137c5fd4cd9bad1106068e4540f99b7d5ef93d3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-16T21:55:56.000Z",
      "arch": "aarch64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/2321b77c8219adb7fa4c95ed83accc5d16230485ca2d5897f88d858fa067a6f2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-16T21:58:41.000Z",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/d5a2d95462c16204bc81caf31bb5f800a731d3615f95ed94b767f04829f693ec",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:56.000Z",
      "arch": "emscripten",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/d0714e1673208dde6c0ff831a4c630d760bb2a6b630dedf02aadf1a0539ec624",
      "status": "success",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T21:48:46.000Z",
      "arch": "aarch64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/cba2758dde97cb0113145853f374d7d4a0dee690be62f8941632ea823b3d6888",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:29.000Z",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/26a9df4c22b1511483243ece41be4d40e89a8daac0da21a836bc97f052d7d3c1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:10.000Z",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/7ca518f1dc88a5f7eb37ca77fa0a506c24ee2ab7ef736e49a6a90afc970bd5bd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T21:49:01.000Z",
      "arch": "aarch64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/1bd179875b680e7eca6f18bb385f131d9a3560ee468ea572f3d358980a6ba6c1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-16T21:46:12.000Z",
      "arch": "x86_64",
      "commit": "402cb9c50ba20f12ba8439d11cb9812574783497",
      "fileid": "https://r2.ropensci.org/7668bea9b318d1f8930838953d426f7d651197597bfce0a2d5faa97a40ab98a9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/eborgnine/actions/runs/38970191955"
    }
  ]
}