{"title":"犰狳和 Eigen:两个线性代数库的故事","authors":"Mauricio Vargas Sepulveda","doi":"arxiv-2409.00568","DOIUrl":null,"url":null,"abstract":"This article introduces `cpp11eigen`, a new R package that integrates the\npowerful Eigen C++ library for linear algebra into the R programming\nenvironment. This article provides a detailed comparison between Armadillo and\nEigen speed and syntax. The `cpp11eigen` package simplifies a part of the\nprocess of using C++ within R by offering additional ease of integration for\nthose who require high-performance linear algebra operations in their R\nworkflows. This work aims to discuss the tradeoff between computational\nefficiency and accessibility.","PeriodicalId":501215,"journal":{"name":"arXiv - STAT - Computation","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Armadillo and Eigen: A Tale of Two Linear Algebra Libraries\",\"authors\":\"Mauricio Vargas Sepulveda\",\"doi\":\"arxiv-2409.00568\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"This article introduces `cpp11eigen`, a new R package that integrates the\\npowerful Eigen C++ library for linear algebra into the R programming\\nenvironment. This article provides a detailed comparison between Armadillo and\\nEigen speed and syntax. The `cpp11eigen` package simplifies a part of the\\nprocess of using C++ within R by offering additional ease of integration for\\nthose who require high-performance linear algebra operations in their R\\nworkflows. This work aims to discuss the tradeoff between computational\\nefficiency and accessibility.\",\"PeriodicalId\":501215,\"journal\":{\"name\":\"arXiv - STAT - Computation\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - STAT - Computation\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2409.00568\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - STAT - Computation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.00568","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
本文介绍了 "cpp11eigen",这是一个新的 R 软件包,它将强大的线性代数 Eigen C++ 库集成到了 R 编程环境中。本文详细比较了 Armadillo 和 Eigen 的速度和语法。cpp11eigen "软件包简化了在 R 中使用 C++ 的部分过程,为那些在 R 工作流程中需要高性能线性代数运算的人提供了额外的集成便利。这项工作旨在讨论计算效率和易用性之间的权衡。
Armadillo and Eigen: A Tale of Two Linear Algebra Libraries
This article introduces `cpp11eigen`, a new R package that integrates the
powerful Eigen C++ library for linear algebra into the R programming
environment. This article provides a detailed comparison between Armadillo and
Eigen speed and syntax. The `cpp11eigen` package simplifies a part of the
process of using C++ within R by offering additional ease of integration for
those who require high-performance linear algebra operations in their R
workflows. This work aims to discuss the tradeoff between computational
efficiency and accessibility.