Matrices Flashcards

1
Q

t(x)

A

transpose

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

diag(x)

A

diagonal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

%*%

A

matrix multiplication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

solve(a,b)

A

solves a %*% x = b for x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

solve(a)

A

matrix inverse of a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

rowsum(x)

A

sum of rows for a matrix-like object; rowSums(x) is a faster

version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

colsum(x), colSums(x)

A

sum of columns for a matrix-like object; colSums(x) is a faster
version

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

rowMeans(x)

A

fast version of row means

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

colMeans(x)

A

fast version of col means

How well did you know this?
1
Not at all
2
3
4
5
Perfectly