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

View source: R/get_beta_n.R

get_beta_nR Documentation

Returns number of free matrix parameters in addition to translation

Description

Returns number of free matrix parameters in addition to translation

Usage

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

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

TriDimRegression documentation built on Sept. 13, 2023, 5:07 p.m.