Convert objects to fm_segm
Usage
fm_as_mesh_1d(x, ...)
fm_as_mesh_1d_list(x, ...)
# S3 method for class 'fm_mesh_1d'
fm_as_mesh_1d(x, ...)
# S3 method for class 'inla.mesh.1d'
fm_as_mesh_1d(x, ...)
Functions
fm_as_mesh_1d()
: Convert an object tofm_mesh_1d
.fm_as_mesh_1d_list()
: Convert each element of a list
See also
Other object creation and conversion:
fm_as_fm()
,
fm_as_lattice_2d()
,
fm_as_mesh_2d()
,
fm_as_segm()
,
fm_as_sfc()
,
fm_as_tensor()
,
fm_lattice_2d()
,
fm_mesh_1d()
,
fm_mesh_2d()
,
fm_segm()
,
fm_simplify()
,
fm_tensor()
Examples
fm_as_mesh_1d_list(list(fm_mesh_1d(1:4)))
#> [[1]]
#> fm_mesh_1d object:
#> Manifold: R1
#> #{knots}: 4
#> Interval: (1, 4)
#> Boundary: (neumann, neumann)
#> B-spline degree: 1
#> Basis d.o.f.: 4
#>
#> attr(,"class")
#> [1] "fm_mesh_1d_list" "fm_list" "list"