Skip to contents

Lift coordinates onto a quadratic surface using Geometry Lab arithmetic

Usage

embed.quadform.surface(latent, coefficients)

Arguments

latent

Finite numeric matrix with two columns.

coefficients

Three finite coefficients for u^2, 2uv and v^2.

Value

A three-column matrix. Version-1 arithmetic preserves existing Geometry Lab cloud identities and reference meshes.

Examples

embed.quadform.surface(matrix(c(0, 1, 0, 1), ncol = 2), c(1, 0, -1))
#>      [,1] [,2] [,3]
#> [1,]    0    0    0
#> [2,]    1    1    0