get_beta_n: Returns number of free matrix parameters in addition to...

Description Usage Arguments Value Examples

View source: R/get_beta_n.R

Description

Returns number of free matrix parameters in addition to translation

Usage

1
get_beta_n(dimN, transformation)

Arguments

dimN

integer, either 2 or 3

transformation

string, for 2D "translation", "euclidean", "affine", "projective". for 3D "translation", "euclidean_x", "euclidean_y", "euclidean_z", "affine", "projective".

Value

integer, number of free matrix parameters in addition to translation

Examples

1
2
get_beta_n(2, "euclidean") # should return 2
get_beta_n(3, "affine") # should return 9

TriDimRegression documentation built on May 4, 2021, 9:08 a.m.