{
  "_id": "6a1e87081d7bb097a0a678b2",
  "Package": "comphy",
  "Title": "Functions Used in the Book \"Computational Physics with R\"",
  "Version": "1.0.5",
  "Authors@R": "person(\"James\",\"Foadi\",email=\"james_foadi@yahoo.co.uk\",role=c(\"aut\", \"cre\"))",
  "Description": "Provides a collection of functions described and used in\nthe book Foadi (2026, ISBN:9780750326308) \"Computational\nPhysics with R\". These include routines for numerical\ndifferentiation, integration, differential equations,\neigenvalue problems, Monte Carlo methods, and other algorithms\nrelevant to computational physics.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/jfoadi/comphy",
  "BugReports": "https://github.com/jfoadi/comphy/issues",
  "Repository": "https://jfoadi.r-universe.dev",
  "Date/Publication": "2026-01-28 15:31:11 UTC",
  "RemoteUrl": "https://github.com/jfoadi/comphy",
  "RemoteRef": "HEAD",
  "RemoteSha": "92af1a92738dceb3e4098e5281a82601d18ef239",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 07:29:03 UTC",
    "User": "root"
  },
  "Author": "James Foadi [aut, cre]",
  "Maintainer": "James Foadi <james_foadi@yahoo.co.uk>",
  "MD5sum": "246d50d1f0696b157d153e412d893e84",
  "_user": "jfoadi",
  "_type": "src",
  "_file": "comphy_1.0.5.tar.gz",
  "_fileid": "fbb865929ddf2b0874fca63789af2afa68cc053bfb4998734b8a48d4c81d26f4",
  "_filesize": 322302,
  "_sha256": "fbb865929ddf2b0874fca63789af2afa68cc053bfb4998734b8a48d4c81d26f4",
  "_created": "2026-06-02T07:29:03.000Z",
  "_published": "2026-06-02T07:32:24.923Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79020852651,
      "time": 89,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351547183"
    },
    {
      "job": 79020852381,
      "time": 84,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351545170"
    },
    {
      "job": 79020852377,
      "time": 161,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351559270"
    },
    {
      "job": 79020852413,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351553436"
    },
    {
      "job": 79020477477,
      "time": 148,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351518116"
    },
    {
      "job": 79020852540,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351545697"
    },
    {
      "job": 79020852457,
      "time": 78,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7351542958"
    },
    {
      "job": 79020852492,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7351546365"
    },
    {
      "job": 79020852411,
      "time": 64,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7351538888"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jfoadi/comphy",
  "_commit": {
    "id": "92af1a92738dceb3e4098e5281a82601d18ef239",
    "author": "James Foadi <james_foadi@yahoo.co.uk>",
    "committer": "James Foadi <james_foadi@yahoo.co.uk>",
    "message": "Created a cran-comments file.\n",
    "time": 1769614271
  },
  "_maintainer": {
    "name": "James Foadi",
    "email": "james_foadi@yahoo.co.uk",
    "login": "jfoadi",
    "description": "Lecturer at the Department of Mathematical Sciences, University of Bath, UK",
    "uuid": 3438593
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    }
  ],
  "_owner": "jfoadi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "week": "2026-04",
      "n": 7
    },
    {
      "week": "2026-05",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2025-09-22"
    },
    {
      "name": "v1.0.1",
      "date": "2025-09-23"
    },
    {
      "name": "v1.0.2",
      "date": "2025-09-23"
    },
    {
      "name": "v1.0.3",
      "date": "2025-09-23"
    },
    {
      "name": "v1.0.5",
      "date": "2026-01-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jfoadi",
      "count": 14,
      "uuid": 3438593
    }
  ],
  "_userbio": {
    "uuid": 3438593,
    "type": "user",
    "name": "James Foadi",
    "description": "Lecturer at the Department of Mathematical Sciences, University of Bath, UK"
  },
  "_downloads": {
    "count": 165,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comphy"
  },
  "_devurl": "https://github.com/jfoadi/comphy",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comphy.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jfoadi/comphy",
  "_realowner": "jfoadi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.5",
      "date": "2026-02-01"
    }
  ],
  "_exports": [
    "backdif",
    "BVPlinshoot2",
    "BVPshoot2",
    "condet",
    "decidepoly_n",
    "deriv_irr",
    "deriv_reg",
    "divdif",
    "EPSturmLiouville2",
    "EulerODE",
    "forwdif",
    "gauss_elim",
    "Gquad",
    "GSeidel",
    "HeunODE",
    "illcond_sample",
    "linpol",
    "LUdeco",
    "nevaitpol",
    "numint_reg",
    "oddity",
    "PJacobi",
    "polydivdif",
    "polysolveLS",
    "RK4ODE",
    "roots_bisec",
    "roots_newton",
    "roots_secant",
    "solve_tridiag",
    "solveLS",
    "transform_upper",
    "which_poly"
  ],
  "_help": [
    {
      "page": "backdif",
      "title": "Backward differences",
      "topics": [
        "backdif"
      ]
    },
    {
      "page": "BVPlinshoot2",
      "title": "Linear shooting method for second-order linear BVPs",
      "topics": [
        "BVPlinshoot2"
      ]
    },
    {
      "page": "BVPshoot2",
      "title": "Solves a second-order BVP using the shooting method",
      "topics": [
        "BVPshoot2"
      ]
    },
    {
      "page": "condet",
      "title": "Determinant of a square matrix",
      "topics": [
        "condet"
      ]
    },
    {
      "page": "decidepoly_n",
      "title": "Degree of best-interpolating polynomial",
      "topics": [
        "decidepoly_n"
      ]
    },
    {
      "page": "deriv_irr",
      "title": "First derivative for an irregular grid",
      "topics": [
        "deriv_irr"
      ]
    },
    {
      "page": "deriv_reg",
      "title": "First derivative on a regular grid",
      "topics": [
        "deriv_reg"
      ]
    },
    {
      "page": "divdif",
      "title": "Divided differences",
      "topics": [
        "divdif"
      ]
    },
    {
      "page": "EPSturmLiouville2",
      "title": "Sturm–Liouville eigenproblem with homogeneous Dirichlet boundary conditions",
      "topics": [
        "EPSturmLiouville2"
      ]
    },
    {
      "page": "EulerODE",
      "title": "Euler method for systems of ODEs",
      "topics": [
        "EulerODE"
      ]
    },
    {
      "page": "forwdif",
      "title": "Forward differences",
      "topics": [
        "forwdif"
      ]
    },
    {
      "page": "gauss_elim",
      "title": "Gaussian Elimination",
      "topics": [
        "gauss_elim"
      ]
    },
    {
      "page": "Gquad",
      "title": "Numerical integration using n-point Gaussian quadrature.",
      "topics": [
        "Gquad"
      ]
    },
    {
      "page": "GSeidel",
      "title": "The Gauss-Seidel algorithm",
      "topics": [
        "GSeidel"
      ]
    },
    {
      "page": "HeunODE",
      "title": "Heun method for systems of ODEs",
      "topics": [
        "HeunODE"
      ]
    },
    {
      "page": "illcond_sample",
      "title": "Ill-conditioned sampling",
      "topics": [
        "illcond_sample"
      ]
    },
    {
      "page": "linpol",
      "title": "1D linear interpolation",
      "topics": [
        "linpol"
      ]
    },
    {
      "page": "LUdeco",
      "title": "LU decomposition",
      "topics": [
        "LUdeco"
      ]
    },
    {
      "page": "nevaitpol",
      "title": "Neville-Aitken algorithm for polynomial interpolation",
      "topics": [
        "nevaitpol"
      ]
    },
    {
      "page": "numint_reg",
      "title": "Numerical integration using the trapezoid or simpson's rule",
      "topics": [
        "numint_reg"
      ]
    },
    {
      "page": "oddity",
      "title": "Parity of a permutation",
      "topics": [
        "oddity"
      ]
    },
    {
      "page": "PJacobi",
      "title": "The Jacobi method",
      "topics": [
        "PJacobi"
      ]
    },
    {
      "page": "polydivdif",
      "title": "Approximating polynomial for divided differences",
      "topics": [
        "polydivdif"
      ]
    },
    {
      "page": "polysolveLS",
      "title": "Polynomial Least Squares",
      "topics": [
        "polysolveLS"
      ]
    },
    {
      "page": "RK4ODE",
      "title": "Runge-Kutta 4th order method for systems of ODEs",
      "topics": [
        "RK4ODE"
      ]
    },
    {
      "page": "roots_bisec",
      "title": "Bisection method for roots",
      "topics": [
        "roots_bisec"
      ]
    },
    {
      "page": "roots_newton",
      "title": "Newton method for roots",
      "topics": [
        "roots_newton"
      ]
    },
    {
      "page": "roots_secant",
      "title": "Secant method for roots",
      "topics": [
        "roots_secant"
      ]
    },
    {
      "page": "solve_tridiag",
      "title": "Tridiagonal linear system",
      "topics": [
        "solve_tridiag"
      ]
    },
    {
      "page": "solveLS",
      "title": "Multilinear Least Squares",
      "topics": [
        "solveLS"
      ]
    },
    {
      "page": "transform_upper",
      "title": "Transform to upper triangular",
      "topics": [
        "transform_upper"
      ]
    },
    {
      "page": "which_poly",
      "title": "Find optimal polynomial model",
      "topics": [
        "which_poly"
      ]
    }
  ],
  "_readme": "https://github.com/jfoadi/comphy/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "comphy",
  "_universes": [
    "jfoadi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-02T07:30:40.000Z",
      "distro": "noble",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "f3f3efa22324ec233813a6cda32cf412d7046f13f8c05fbae2cb9a4ff3ca08cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.5",
      "date": "2026-06-02T07:30:35.000Z",
      "distro": "noble",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "1e55b01173a1ee1a69a22941bf9af7af9417fee04d1e7dac36885b2d1f5b5105",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-06-02T07:31:23.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "677ac87587f2960f5b841cc117a5eaeb5bdcce346d140b528e114faef1da17fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.5",
      "date": "2026-06-02T07:31:03.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "adaceac288507b702b4d36ab75c10082076adb61c24d42ebcc456fac1d0d95f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.5",
      "date": "2026-06-02T07:30:50.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "6a5aeb29554b44d642c241d5520df911077335af2d87cfe6a575218b0b3ae4ca",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-06-02T07:30:22.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "3f7230818c41108460430e290512a81b7e4e0029a9e0c629261ac8cf5e16a3ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-06-02T07:30:23.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "02e24a6a19997565aaf683509a06d745e48ca098d6591faf5b9a844839c361ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.5",
      "date": "2026-06-02T07:30:07.000Z",
      "commit": "92af1a92738dceb3e4098e5281a82601d18ef239",
      "fileid": "76ee390036cc7dbd8b9583886162df9f03816d2386a686b3ee30340cb5a2b0f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jfoadi/actions/runs/26805062990"
    }
  ]
}