View source: R/get_skew_symmetric_matrix.R
get_skew_symmetric_matrix | R Documentation |
Returns the 3-by-3 skew symmetric matrix having the specified independent components.
get_skew_symmetric_matrix(independent_components)
independent_components |
A vector containing the independent components of the matrix to get. |
Given a vector of components, say [x,y,z]
, this function
will return matrix
0 | -z | y |
||
z | 0 | -x |
||
-y | x | 0 |
The 3-by-3 skew symmetric matrix corresponding to the specified independent components.
https://en.wikipedia.org/wiki/Skew-symmetric_matrix.
Other Regression functions:
cross_validate_concentration()
,
fit_regression()
,
get_equally_spaced_points()
,
simulate_regression()
,
simulate_rigid_regression()
,
weight_explanatory_points()
library(nprotreg)
# Define a vector of independent components.
independent_components <- cbind(1, 2, 3)
# Get the corresponding 3-by-3 skew symmetric matrix.
m <- get_skew_symmetric_matrix(independent_components)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.