luminarycloud.types¶
Attributes¶
Classes¶
An immutable float with first order adjoints/tangents attached. |
|
Represents a 3x3 matrix. |
|
An immutable float with second order adjoints/tangents attached. |
|
Represents a 3-dimensional vector. |
Package Contents¶
- class FirstOrderAdFloat(value: float, tangent: tuple[float, Ellipsis], adjoint: tuple[float, Ellipsis])¶
An immutable float with first order adjoints/tangents attached.
- property adjoint: tuple[float, Ellipsis]¶
- property tangent: tuple[float, Ellipsis]¶
- class Matrix3¶
Represents a 3x3 matrix.
- a: luminarycloud.types.vector3.Vector3¶
- b: luminarycloud.types.vector3.Vector3¶
- c: luminarycloud.types.vector3.Vector3¶
- class SecondOrderAdFloat(value: FirstOrderAdFloat, tangent: tuple[FirstOrderAdFloat, Ellipsis], adjoint: tuple[FirstOrderAdFloat, Ellipsis])¶
An immutable float with second order adjoints/tangents attached.
- property adjoint: tuple[FirstOrderAdFloat, Ellipsis]¶
- property tangent: tuple[FirstOrderAdFloat, Ellipsis]¶
- property value: FirstOrderAdFloat¶
- class Vector3¶
Represents a 3-dimensional vector.
Supports direct component access, indexing, iteration, and conversion to numpy arrays.
- Examples:
>>> from luminarycloud.types import Vector3 >>> v = Vector3(1.0, 2.0, 3.0) >>> v.x, v.y, v.z # Direct component access (1.0, 2.0, 3.0) >>> v[0] # Access by index 1.0 >>> list(v) # Iterate over components [1.0, 2.0, 3.0] >>> import numpy as np >>> np.array(v) # Convert to numpy array array([1., 2., 3.])
- x: float = 0.0¶
- y: float = 0.0¶
- z: float = 0.0¶
- GeometryFeatureID¶
- GeometryID¶
- MeshID¶
- NamedVariableSetID¶
- ProjectID¶
- SimulationID¶
- SimulationTemplateID¶
- SolutionID¶