powered by
Obtain the degrees of freedom of a function space, i.e. the number of basis functions it uses.
fm_dof(x)# S3 method for fm_mesh_1d fm_dof(x)# S3 method for fm_mesh_2d fm_dof(x)# S3 method for fm_mesh_3d fm_dof(x)# S3 method for fm_tensor fm_dof(x)# S3 method for fm_lattice_2d fm_dof(x)# S3 method for fm_lattice_Nd fm_dof(x)
# S3 method for fm_mesh_1d fm_dof(x)
# S3 method for fm_mesh_2d fm_dof(x)
# S3 method for fm_mesh_3d fm_dof(x)
# S3 method for fm_tensor fm_dof(x)
# S3 method for fm_lattice_2d fm_dof(x)
# S3 method for fm_lattice_Nd fm_dof(x)
An integer
A function space object, such as fm_mesh_1d() or fm_mesh_2d()
fm_mesh_1d()
fm_mesh_2d()
fm_dof(fmexample$mesh)
Run the code above in your browser using DataLab