mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-28 12:14:43 +00:00
feat: add scipy
type declaration
This commit is contained in:
parent
2c7c2da7af
commit
7cc5500f71
17 changed files with 20 additions and 0 deletions
|
@ -1,3 +1,23 @@
|
|||
.Complex64 = 'complex64': ClassType
|
||||
.Complex128 = 'complex128': ClassType
|
||||
|
||||
.Float16 = 'float16': ClassType
|
||||
.Float32 = 'float32': ClassType
|
||||
.Float64 = 'float64': ClassType
|
||||
|
||||
.Int8 = 'int8': ClassType
|
||||
.Int16 = 'int16': ClassType
|
||||
.Int32 = 'int32': ClassType
|
||||
.Int64 = 'int64': ClassType
|
||||
|
||||
.UInt8 = 'uint8': ClassType
|
||||
.UInt16 = 'uint16': ClassType
|
||||
.UInt32 = 'uint32': ClassType
|
||||
.UInt64 = 'uint64': ClassType
|
||||
|
||||
.Bool_ = 'bool_': ClassType
|
||||
.Str_ = 'str_': ClassType
|
||||
|
||||
.NDArray = 'ndarray': (T: Type, Shape: [Nat; _]) -> ClassType
|
||||
.NDArray(T, _) <: Output T
|
||||
.NDArray(_, _) <: Num
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue