109 lines
2.4 KiB
Python
109 lines
2.4 KiB
Python
"""
|
|
Auto-generated Python stub file from test_numpy.py
|
|
Module: test_numpy
|
|
"""
|
|
|
|
|
|
from stdint import *
|
|
import numpy
|
|
from stdio import printf
|
|
from stdlib import calloc, free
|
|
import string
|
|
import vipermath
|
|
import memhub
|
|
import t, c
|
|
|
|
EPS: t.CExtern | t.CDouble
|
|
EPS_LOOSE: t.CExtern | t.CDouble
|
|
SIMD_BLOCK: t.CExtern | t.CSizeT
|
|
arena: t.CExtern | t.CUInt8T | t.CPtr
|
|
pool: t.CExtern | memhub.MemPool | t.CPtr
|
|
test_passed: t.CExtern | t.CInt
|
|
test_failed: t.CExtern | t.CInt
|
|
|
|
def check(name: str, condition: t.CInt, detail: str) -> t.CInt: pass
|
|
|
|
def approx_eq(a: t.CDouble, b: t.CDouble) -> t.CInt: pass
|
|
|
|
def approx_loose(a: t.CDouble, b: t.CDouble) -> t.CInt: pass
|
|
|
|
def section_header(title: str) -> t.CInt: pass
|
|
|
|
def section_footer() -> t.CInt: pass
|
|
|
|
def vec4(p: memhub.MemPool | t.CPtr, v0: t.CDouble, v1: t.CDouble, v2: t.CDouble, v3: t.CDouble) -> numpy.ndarray | t.CPtr: pass
|
|
|
|
def vec3(p: memhub.MemPool | t.CPtr, v0: t.CDouble, v1: t.CDouble, v2: t.CDouble) -> numpy.ndarray | t.CPtr: pass
|
|
|
|
def vec2(p: memhub.MemPool | t.CPtr, v0: t.CDouble, v1: t.CDouble) -> numpy.ndarray | t.CPtr: pass
|
|
|
|
def test_zeros_ones() -> t.CInt: pass
|
|
|
|
def test_arange_linspace() -> t.CInt: pass
|
|
|
|
def test_eye_diag() -> t.CInt: pass
|
|
|
|
def test_sum_mean_min_max() -> t.CInt: pass
|
|
|
|
def test_fill_copy() -> t.CInt: pass
|
|
|
|
def test_add_sub_mul_div() -> t.CInt: pass
|
|
|
|
def test_neg() -> t.CInt: pass
|
|
|
|
def test_len() -> t.CInt: pass
|
|
|
|
def test_scalar_ops() -> t.CInt: pass
|
|
|
|
def test_math_funcs() -> t.CInt: pass
|
|
|
|
def test_matmul() -> t.CInt: pass
|
|
|
|
def test_dot() -> t.CInt: pass
|
|
|
|
def test_transpose() -> t.CInt: pass
|
|
|
|
def test_var_std_norm() -> t.CInt: pass
|
|
|
|
def test_clip_concatenate() -> t.CInt: pass
|
|
|
|
def test_sort_reverse() -> t.CInt: pass
|
|
|
|
def test_print_arr() -> t.CInt: pass
|
|
|
|
def test_floordiv_mod() -> t.CInt: pass
|
|
|
|
def test_additional_math() -> t.CInt: pass
|
|
|
|
def test_trig_hyperbolic() -> t.CInt: pass
|
|
|
|
def test_degrees_radians() -> t.CInt: pass
|
|
|
|
def test_cumsum_diff() -> t.CInt: pass
|
|
|
|
def test_max_min_where() -> t.CInt: pass
|
|
|
|
def test_flatten_trace() -> t.CInt: pass
|
|
|
|
def test_outer() -> t.CInt: pass
|
|
|
|
def test_bool_comparison() -> t.CInt: pass
|
|
|
|
def test_linalg() -> t.CInt: pass
|
|
|
|
def test_additional_creation() -> t.CInt: pass
|
|
|
|
def test_interp() -> t.CInt: pass
|
|
|
|
def test_numpy_edge() -> t.CInt: pass
|
|
|
|
def bench_numpy_perf() -> t.CInt: pass
|
|
|
|
def test_numpy_correct() -> t.CInt: pass
|
|
|
|
def test_numpy_edge_main() -> t.CInt: pass
|
|
|
|
def bench_numpy_main() -> t.CInt: pass
|
|
|
|
def test_numpy_main() -> t.CInt: pass
|