Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78349873
RROMPyTypes.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Aug 19, 23:46
Size
669 B
Mime Type
text/x-python
Expires
Wed, Aug 21, 23:46 (2 d)
Engine
blob
Format
Raw Data
Handle
20031632
Attached To
R6746 RationalROMPy
RROMPyTypes.py
View Options
#!/usr/bin/python
from
typing
import
TypeVar
,
List
,
Tuple
,
Dict
,
Any
TupleAny
=
Tuple
[
Any
]
ListAny
=
List
[
Any
]
DictAny
=
Dict
[
Any
,
Any
]
strLst
=
TypeVar
(
"str or list of str"
)
Np1D
=
TypeVar
(
"NumPy 1D array"
)
Np2D
=
TypeVar
(
"NumPy 2D array"
)
Np1DLst
=
TypeVar
(
"NumPy 1D array or list of NumPy 1D array"
)
GenExpr
=
TypeVar
(
"Generic expression"
)
FenSpace
=
TypeVar
(
"FEniCS FESpace"
)
FenExpr
=
TypeVar
(
"FEniCS expression"
)
FenFunc
=
TypeVar
(
"FEniCS function"
)
BfSExpr
=
TypeVar
(
"Boolean function or string"
)
N2FSExpr
=
TypeVar
(
"NumPy 2D array, float or str"
)
HFEng
=
TypeVar
(
"High fidelity engine"
)
HSEng
=
TypeVar
(
"Hilbert space engine"
)
ROMEng
=
TypeVar
(
"ROM engine"
)
Event Timeline
Log In to Comment