National Tsing Hua University ® copyright OIA National Tsing Hua University HSA HW1.

Slides:



Advertisements
Similar presentations
Test 2 Jason Jenkins Lauren Sears Aaron Stricklin Brandon Wolfe Julie Alexander.
Advertisements

2.3 Matrix Inverses. Numerical equivalent How would we solve for x in: ax = b ? –a -1 a x = a -1 b –x=a -1 b since a -1 a = 1 and 1x = x We use the same.
Section 4.2 – Multiplying Matrices Day 2
Lecture 33 CSE 331 Nov 20, Homeworks Submit HW 9 by 1:10PM HW 8 solutions at the end of the lecture.
JPEG Compression in Matlab
Section 10.3 – The Inverse of a Matrix No Calculator.
How to find the inverse of a matrix
CS OPERATING SYSTEMS Project 2 Matrix Multiplication Project.
Today: Class Announcements Class Announcements PLAN Practice PLAN Practice 4.1 Notes 4.1 Notes Begin Homework Begin Homework Show Chapter 3 Test Scores.
HW4 Explanation. Problem 1 You should write maxv() function (Exercise 11 on page 297). Testcase: – Testcase 1: Input : Output : maximum value.
Warm Up. Multiplying Matrices 6.2 part 2 **Multiply rows times columns. **You can only multiply if the number of columns in the 1 st matrix is equal.
How to Multiply using Lattice. Step 1: How many boxes to you need? 23 X 5 You need 2 boxes on top and 1 on the side.
National Tsing Hua University ® copyright OIA National Tsing Hua University HSA HW2.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Operations with Matrices: Multiplication
Multiplying Matrices Algebra 2—Section 3.6. Recall: Scalar Multiplication - each element in a matrix is multiplied by a constant. Multiplying one matrix.
KEYBOARD INTERFACING Keyboards are organized in a matrix of rows and columns The CPU accesses both rows and columns through ports. ƒTherefore, with two.
Homework 1 (due:April 10th) Deadline : April 10th 11:59pm Where to submit? eClass 과제방 ( How to submit? Create a folder. The name.
X2x2 + x x 2 +3x +2 +2x x + 2 x 2 + x +2x +2 Learning how to do long multiplication with number and algebra.
Contingency table analyses Miloš Radić 12/0010 1/14.
Homework 1 (due:April 8th) Deadline : April 8th 11:59pm Where to submit? eClass “ 과제방 ” ( How to submit? Create a folder. The name.
Steps of Addition Move your mouse over each step to see the directions.
Matrix Multiplication The Introduction. Look at the matrix sizes.
CS 177 Week 9 Recitation Slides 1 Matrix Encoding Matrix Multiplication Trees as Lists Columnar Transposition 3/1/2016.
Section – Operations with Matrices No Calculator By the end of this lesson you should be able to: Write a matrix and identify its order Determine.
Matrix Multiplication. Row 1 x Column X 25 = Jeff Bivin -- LZHS.
3.6 Multiplying Matrices Homework 3-17odd and odd.
Homework 2 (due:April 17th) Deadline : April 17th 11:59pm Where to submit? eClass “ 과제방 ” ( How to submit? Create a folder. The.
= the matrix for T relative to the standard basis is a basis for R 2. B is the matrix for T relative to To find B, complete:
Notes Over 4.2 Finding the Product of Two Matrices Find the product. If it is not defined, state the reason. To multiply matrices, the number of columns.
Do Now: Perform the indicated operation. 1.). Algebra II Elements 11.1: Matrix Operations HW: HW: p.590 (16-36 even, 37, 44, 46)
4-3 Matrix Multiplication Objective: To multiply a matrix by a scalar multiple.
Matrix Multiplication Example 1 Original author: Jeffrey Bivin, Lake Zurich High School.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Homework 1 (due:April 13th) Deadline : April 13th 11:59pm Where to submit? eClass 과제방 ( How to submit? Create a folder. The name.
12-1 Organizing Data Using Matrices
Multiplying Matrices.
Homework 3 (due:May 27th) Deadline : May 27th 11:59pm
Copyright © 2009 Dan Nettleton
Week 7, Day Two: October 24th, 2012
Lab. on Finite State Machine
Matrix Multiplication
Multiplying Matrices Algebra 2—Section 3.6.
Homework 3 (due:June 5th)
106 Data Structure Homework 1
Multiplying Matrices.
Section 3.1 – Operations with Matrices
Final Exam on 6/20.
2. Matrix Algebra 2.1 Matrix Operations.
Section 3.3 – The Inverse of a Matrix
Multidimensional array

CS Software Studio Assignment 1
Multiplying Matrices.
Homework 2 (due:May 15th) Deadline : May 15th 11:59pm
Homework 1 (due:April 17th)
Homework 2 (due:May 5th) Deadline : May 5th 11:59pm
How to Multiply using Lattice
Homework #3 The following problems are out of the textbook “Industrial Ecology” 1. Problem Problem Problem 9.3 Hint: A simple and reasonable.
Matrix A matrix is a rectangular arrangement of numbers in rows and columns Each number in a matrix is called an Element. The dimensions of a matrix are.
Multiplying Matrices.
Multiplying Matrices.
Homework 2 (due:May 13th) Deadline : May 11th 11:59pm
Matrix Multiplication Sec. 4.2
Introduction to Matrices
AME Spring Lecture 11 - Thrust and aircraft range
Multiplying Matrices.
Challenge Guide Grade Code Type Slides
Presentation transcript:

National Tsing Hua University ® copyright OIA National Tsing Hua University HSA HW1

National Tsing Hua University ® copyright OIA National Tsing Hua University HW1 In this homework, we want you to write 4 simple OpenCL programs. – Prefix sum – Finite Difference – Matrix Transpose – Matrix Multiplication Each program earns 3 points of your final grades.

National Tsing Hua University ® copyright OIA National Tsing Hua University Prefix sum & Finite Difference The first number is the number of input data. Input data : Output data : – Prefix Sum : – Finite difference :

National Tsing Hua University ® copyright OIA National Tsing Hua University Matrix Transpose & Matrix Multiplication The first and second number is the row and column of the Matrix. Matrix Transpose Input data : Output : answer after transposition. – without the number of row and column In Matrix Multiplication We will give you two input file mtx1, mtx2. Mtx1 Input data : Mtx2 input data : Output : answer after Multiplication. – without the number of row and column

National Tsing Hua University ® copyright OIA National Tsing Hua University HW1 We want you to write not only GPU part, but a CPU side to verify the answer of GPU. We will announce your server IP and account in iLMS. Don't copy others code, you will get 0 points. DEADLINE : 3/23 11:55pm