This is the Linux app named ProgrammingAssignment2 whose latest release can be downloaded as ProgrammingAssignment2sourcecode.zip. It can be run online in the free hosting provider OnWorks for workstations.
使用 OnWorks 免费下载并在线运行此名为 ProgrammingAssignment2 的应用程序。
请按照以下说明运行此应用程序:
- 1. 在您的 PC 中下载此应用程序。
- 2. 在我们的文件管理器 https://www.onworks.net/myfiles.php?username=XXXXX 中输入您想要的用户名。
- 3. 在这样的文件管理器中上传这个应用程序。
- 4. 从此网站启动OnWorks Linux online 或Windows online emulator 或MACOS online emulator。
- 5. 从您刚刚启动的 OnWorks Linux 操作系统,使用您想要的用户名转到我们的文件管理器 https://www.onworks.net/myfiles.php?username=XXXXX。
- 6. 下载应用程序,安装并运行。
SCREENSHOTS
Ad
编程作业2
商品描述
This repository contains the second programming assignment for an R course, focused on caching expensive computations by leveraging R’s scoping rules. The assignment walks you through creating a special matrix object that stores both a matrix and its cached inverse, avoiding repeated calls to costly operations. It builds on a worked example that caches the mean of a numeric vector, demonstrating how the operator preserves state across function calls. You then implement analogous logic for matrices via two functions, one to construct the cache-aware object and another to compute or retrieve the cached inverse. The instructions emphasize using solve for inversion and assuming that the supplied matrix is always invertible. The repository outlines the workflow for forking, editing the provided R stub, committing your solution, and submitting your repository URL as the final deliverable.
功能
- 为编程作业提供 R 脚本模板
- 演示 R 中的词汇范围概念
- 实现缓存以避免冗余矩阵求逆
- 包括修改所提供功能的说明
- 帮助学习者在 R 中练习函数式编程
- 作为 Coursera 专业课程的课程材料
程式语言
R
分类
此应用程序也可从 https://sourceforge.net/projects/programmingassignment2.mirror/ 获取。它已托管在 OnWorks 中,以便通过我们的免费操作系统之一以最便捷的方式在线运行。