1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//! # tensor-calc
//!
//! A Rust library for symbolic tensor calculus and Einstein field equation solving.
//!
//! This library provides comprehensive tools for:
//! - Symbolic tensor calculus operations
//! - Einstein field equation solving
//! - Spacetime metric computations
//! - General relativity calculations
//!
//! ## Quick Start
//!
//! ```rust
//! use tensor_calc::{solve_vacuum_einstein_equations};
//!
//! // Solve for Schwarzschild spacetime
//! let coords = vec!["t".to_string(), "r".to_string(), "theta".to_string(), "phi".to_string()];
//! let solutions = solve_vacuum_einstein_equations(&coords, "spherical", &[]).unwrap();
//! assert!(!solutions.is_empty());
//! ```
//!
//! ## Examples
//!
//! ### Computing Einstein Solutions
//! ```rust
//! use tensor_calc::{solve_vacuum_einstein_equations};
//!
//! let coords = vec!["t".to_string(), "r".to_string(), "theta".to_string(), "phi".to_string()];
//! let solutions = solve_vacuum_einstein_equations(&coords, "spherical", &[]).unwrap();
//!
//! // Should find Schwarzschild and Reissner-Nordström solutions
//! assert_eq!(solutions.len(), 2);
//! assert_eq!(solutions[0].solution_type, "exact");
//! ```
// Re-export commonly used types and functions
pub use *;
pub use *;
pub use *;
// Re-export error type
use ;
use Error;