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.
Download and run online this app named ProgrammingAssignment2 with OnWorks for free.
ทำตามคำแนะนำเหล่านี้เพื่อเรียกใช้แอปนี้:
- 1. ดาวน์โหลดแอปพลิเคชั่นนี้ในพีซีของคุณ
- 2. เข้าไปที่ file manager https://www.onworks.net/myfiles.php?username=XXXXX ด้วยชื่อผู้ใช้ที่คุณต้องการ
- 3. อัปโหลดแอปพลิเคชันนี้ในตัวจัดการไฟล์ดังกล่าว
- 4. เริ่มโปรแกรมจำลองออนไลน์ของ OnWorks Linux หรือ Windows ออนไลน์ หรือโปรแกรมจำลองออนไลน์ MACOS จากเว็บไซต์นี้
- 5. จาก OnWorks Linux OS คุณเพิ่งเริ่มต้น ไปที่ตัวจัดการไฟล์ของเรา https://www.onworks.net/myfiles.php?username=XXXXX พร้อมชื่อผู้ใช้ที่คุณต้องการ
- 6. ดาวน์โหลดแอปพลิเคชั่น ติดตั้ง และเรียกใช้
ภาพหน้าจอ:
งานมอบหมายการเขียนโปรแกรม 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.
คุณสมบัติ
- Provides R script templates for a programming assignment
- Demonstrates lexical scoping concepts in R
- Implements caching to avoid redundant matrix inversion
- Includes instructions for modifying provided functions
- Helps learners practice functional programming in R
- Serves as coursework material for the Coursera specialization
ภาษาโปรแกรม
R
หมวดหมู่
This is an application that can also be fetched from https://sourceforge.net/projects/programmingassignment2.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.