Skip to contents

Vector2 Transform

Usage

vector2_transform(v, mat)

Arguments

v

A numeric vector of length 2.

mat

A 4x4 numeric matrix.

Value

A numeric vector of length 2

Examples

vector2_transform(c(100, 100), diag(4))
#>   x   y 
#> 100 100