Skip to content
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
//! // Create an array to store the basis function values
//! let mut basis_values = DynArray::<f64, 4>::from_shape(element.tabulate_array_shape(0, 1));
//! // Create array containing the point [1/2, 1/2]
//! let mut points = DynArray::<f64, 2>::from_shape([2, 1]);
//! points[[0, 0]] = 1.0 / 2.0;
//! points[[1, 0]] = 1.0 / 2.0;
//! // Tabulate the element's basis functions at the point
//! element.tabulate(&points, 0, &mut basis_values);
//! println!(
//! "The values of the basis functions at the point (1/2, 1/2) are: {:?}",
//! basis_values.data()
//! );
//! let mut points = DynArray::<f64, 2>::from_shape([2, 1]);
//! points[[0, 0]] = 1.0 / 2.0;
//! points[[1, 0]] = 1.0 / 2.0;
//! // Tabulate the element's basis functions at the point
//! element.tabulate(&points, 0, &mut basis_values);
//! println!(
//! "The values of the basis functions at the point (1/2, 1/2) are: {:?}",
//! basis_values.data()
//! );
//! ```
#![cfg_attr(feature = "strict", deny(warnings), deny(unused_crate_dependencies))]
#![warn(missing_docs)]
Expand Down