get_skew_symmetric_matrix {nprotreg} | R Documentation |
Gets a 3-by-3 Skew Symmetric Matrix.
Description
Returns the 3-by-3 skew symmetric matrix having the specified independent components.
Usage
get_skew_symmetric_matrix(independent_components)
Arguments
independent_components |
A vector containing the independent components of the matrix to get. |
Details
Given a vector of components, say [x,y,z]
, this function
will return matrix
0 | -z | y |
||
z | 0 | -x |
||
-y | x | 0 |
Value
The 3-by-3 skew symmetric matrix corresponding to the specified independent components.
See Also
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()
Examples
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)
[Package nprotreg version 1.1.1 Index]