Classes | Functions | Variables
test_numpy_array Namespace Reference

Classes

class  PyValueHolder
 

Functions

def arr ()
 
def test_argument_conversions (forcecast, contiguity, noconvert)
 
def test_array_attributes ()
 
def test_array_create_and_resize ()
 
def test_array_failure ()
 
def test_array_resize ()
 
def test_array_unchecked_dyn_dims ()
 
def test_array_unchecked_fixed_dims (msg)
 
def test_array_view ()
 
def test_array_view_invalid ()
 
def test_at (arr)
 
def test_at_fail (arr, dim)
 
def test_bounds_check (arr)
 
def test_cast_numpy_int64_to_uint64 ()
 
def test_constructors ()
 
def test_data (arr, args, ret)
 
def test_dim_check_fail (arr)
 
def test_dtype_refcount_leak ()
 
def test_dtypes ()
 
def test_format_descriptors_for_floating_point_types (test_func)
 
def test_greedy_string_overload ()
 
def test_index_offset (arr, args, ret)
 
def test_index_using_ellipsis ()
 
def test_initializer_list ()
 
def test_isinstance ()
 
def test_make_c_f_array ()
 
def test_make_empty_shaped_array ()
 
def test_mutate_data (arr)
 
def test_mutate_readonly (arr)
 
def test_numpy_view (capture)
 
def test_overload_resolution (msg)
 
def test_pass_array_pyobject_ptr_return_as_list ()
 
def test_pass_array_pyobject_ptr_return_sum_str_values_list ()
 
def test_pass_array_pyobject_ptr_return_sum_str_values_ndarray ()
 
def test_reshape_initializer_list ()
 
def test_reshape_tuple ()
 
def test_return_array_pyobject_ptr_cpp_loop (return_array_pyobject_ptr, unwrap)
 
def test_round_trip_float ()
 
def test_wrap ()
 
def UnwrapPyValueHolder (vhs)
 
def WrapWithPyValueHolder (*values)
 

Variables

 np
 

Function Documentation

◆ arr()

def test_numpy_array.arr ( )

Definition at line 28 of file test_numpy_array.py.

◆ test_argument_conversions()

def test_numpy_array.test_argument_conversions (   forcecast,
  contiguity,
  noconvert 
)

Definition at line 544 of file test_numpy_array.py.

◆ test_array_attributes()

def test_numpy_array.test_array_attributes ( )

Definition at line 32 of file test_numpy_array.py.

◆ test_array_create_and_resize()

def test_numpy_array.test_array_create_and_resize ( )

Definition at line 469 of file test_numpy_array.py.

◆ test_array_failure()

def test_numpy_array.test_array_failure ( )

Definition at line 420 of file test_numpy_array.py.

◆ test_array_resize()

def test_numpy_array.test_array_resize ( )

Definition at line 441 of file test_numpy_array.py.

◆ test_array_unchecked_dyn_dims()

def test_numpy_array.test_array_unchecked_dyn_dims ( )

Definition at line 408 of file test_numpy_array.py.

◆ test_array_unchecked_fixed_dims()

def test_numpy_array.test_array_unchecked_fixed_dims (   msg)

Definition at line 382 of file test_numpy_array.py.

◆ test_array_view()

def test_numpy_array.test_array_view ( )

Definition at line 475 of file test_numpy_array.py.

◆ test_array_view_invalid()

def test_numpy_array.test_array_view_invalid ( )

Definition at line 484 of file test_numpy_array.py.

◆ test_at()

def test_numpy_array.test_at (   arr)

Definition at line 122 of file test_numpy_array.py.

◆ test_at_fail()

def test_numpy_array.test_at_fail (   arr,
  dim 
)

Definition at line 115 of file test_numpy_array.py.

◆ test_bounds_check()

def test_numpy_array.test_bounds_check (   arr)

Definition at line 156 of file test_numpy_array.py.

◆ test_cast_numpy_int64_to_uint64()

def test_numpy_array.test_cast_numpy_int64_to_uint64 ( )

Definition at line 278 of file test_numpy_array.py.

◆ test_constructors()

def test_numpy_array.test_constructors ( )

Definition at line 288 of file test_numpy_array.py.

◆ test_data()

def test_numpy_array.test_data (   arr,
  args,
  ret 
)

Definition at line 106 of file test_numpy_array.py.

◆ test_dim_check_fail()

def test_numpy_array.test_dim_check_fail (   arr)

Definition at line 81 of file test_numpy_array.py.

◆ test_dtype_refcount_leak()

def test_numpy_array.test_dtype_refcount_leak ( )

Definition at line 586 of file test_numpy_array.py.

◆ test_dtypes()

def test_numpy_array.test_dtypes ( )

Definition at line 11 of file test_numpy_array.py.

◆ test_format_descriptors_for_floating_point_types()

def test_numpy_array.test_format_descriptors_for_floating_point_types (   test_func)

Definition at line 529 of file test_numpy_array.py.

◆ test_greedy_string_overload()

def test_numpy_array.test_greedy_string_overload ( )
Tests fix for #685 - ndarray shouldn't go to std::string overload

Definition at line 374 of file test_numpy_array.py.

◆ test_index_offset()

def test_numpy_array.test_index_offset (   arr,
  args,
  ret 
)

Definition at line 74 of file test_numpy_array.py.

◆ test_index_using_ellipsis()

def test_numpy_array.test_index_using_ellipsis ( )

Definition at line 515 of file test_numpy_array.py.

◆ test_initializer_list()

def test_numpy_array.test_initializer_list ( )

Definition at line 434 of file test_numpy_array.py.

◆ test_isinstance()

def test_numpy_array.test_isinstance ( )

Definition at line 283 of file test_numpy_array.py.

◆ test_make_c_f_array()

def test_numpy_array.test_make_c_f_array ( )

Definition at line 175 of file test_numpy_array.py.

◆ test_make_empty_shaped_array()

def test_numpy_array.test_make_empty_shaped_array ( )

Definition at line 182 of file test_numpy_array.py.

◆ test_mutate_data()

def test_numpy_array.test_mutate_data (   arr)

Definition at line 142 of file test_numpy_array.py.

◆ test_mutate_readonly()

def test_numpy_array.test_mutate_readonly (   arr)

Definition at line 130 of file test_numpy_array.py.

◆ test_numpy_view()

def test_numpy_array.test_numpy_view (   capture)

Definition at line 245 of file test_numpy_array.py.

◆ test_overload_resolution()

def test_numpy_array.test_overload_resolution (   msg)

Definition at line 304 of file test_numpy_array.py.

◆ test_pass_array_pyobject_ptr_return_as_list()

def test_numpy_array.test_pass_array_pyobject_ptr_return_as_list ( )

Definition at line 651 of file test_numpy_array.py.

◆ test_pass_array_pyobject_ptr_return_sum_str_values_list()

def test_numpy_array.test_pass_array_pyobject_ptr_return_sum_str_values_list ( )

Definition at line 641 of file test_numpy_array.py.

◆ test_pass_array_pyobject_ptr_return_sum_str_values_ndarray()

def test_numpy_array.test_pass_array_pyobject_ptr_return_sum_str_values_ndarray ( )

Definition at line 631 of file test_numpy_array.py.

◆ test_reshape_initializer_list()

def test_numpy_array.test_reshape_initializer_list ( )

Definition at line 490 of file test_numpy_array.py.

◆ test_reshape_tuple()

def test_numpy_array.test_reshape_tuple ( )

Definition at line 500 of file test_numpy_array.py.

◆ test_return_array_pyobject_ptr_cpp_loop()

def test_numpy_array.test_return_array_pyobject_ptr_cpp_loop (   return_array_pyobject_ptr,
  unwrap 
)

Definition at line 667 of file test_numpy_array.py.

◆ test_round_trip_float()

def test_numpy_array.test_round_trip_float ( )

Definition at line 598 of file test_numpy_array.py.

◆ test_wrap()

def test_numpy_array.test_wrap ( )

Definition at line 191 of file test_numpy_array.py.

◆ UnwrapPyValueHolder()

def test_numpy_array.UnwrapPyValueHolder (   vhs)

Definition at line 627 of file test_numpy_array.py.

◆ WrapWithPyValueHolder()

def test_numpy_array.WrapWithPyValueHolder ( values)

Definition at line 623 of file test_numpy_array.py.

Variable Documentation

◆ np

test_numpy_array.np

Definition at line 8 of file test_numpy_array.py.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:53