Linear Algebra Using R - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Linear Algebra Using R

Description:

Returns the norm or magnitude of the vector v. Defining Matrices ... Returns the sum of two matrices. Returns the vector Av. Returns the matrix AB. ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 8
Provided by: Mat137
Category:

less

Transcript and Presenter's Notes

Title: Linear Algebra Using R


1
Linear Algebra Using R
  • James West

2
Defining Vectors
Defines a vector with each component specified
by the user.
Defines a vector with ascending values.
Defines an empty vector of the declared length.
3
Playing With Vectors
Returns the dot product of the vectors v and w.
Returns the length of the vector v.
Returns the norm or magnitude of the vector v.
4
Defining Matrices
Defines a matrix with 6 entries, 2 rows and
entries given by column.
Defines a matrix with 6 entries,2 rows and
entries given by row.
Defines a matrix with 2 columns.
Defines a diagonal matrix with specified entries.
5
Matrix Operations
Returns the sum of two matrices.
Returns the transpose of a matrix.
Returns the vector Av.
Returns the matrix AB.
6
Matrix Operations
Returns the inverse of the matrix A.
Returns the solution to Ax b, note that
solve(A,b) will also work.
Returns the determinant of A.
7
Finding Eigenvalues and Vectors
The eigen() command will return a vector of
eigenvalues and a matrix with the eigenvectors
as columns.
Write a Comment
User Comments (0)
About PowerShow.com