Skip to contents

Convert objects to fm_lattice_Nd

Usage

fm_as_lattice_Nd(...)

fm_as_lattice_Nd_list(x, ...)

# S3 method for class 'fm_lattice_Nd'
fm_as_lattice_Nd(x, ...)

Arguments

...

Arguments passed on to submethods

x

Object to be converted

Value

An fm_lattice_Md or fm_lattice_Nd_list object

Functions

  • fm_as_lattice_Nd(): Convert an object to fm_lattice_Nd.

  • fm_as_lattice_Nd_list(): Convert each element of a list

Examples

(fm_as_lattice_Nd_list(list(
  fm_lattice_Nd(list(1:3, 1:2)),
  fm_lattice_Nd(list(1:4))
)))
#> fm_lattice_Nd object:
#>   Manifold:	R2
#>   Dimensions:	3 x 2
#>   Bounding box: (1,3) x (1,2)
#>   Basis d.o.f.:	6
#> fm_lattice_Nd object:
#>   Manifold:	R1
#>   Dimensions:	4
#>   Bounding box: (1,4)
#>   Basis d.o.f.:	4