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 26 of file test_numpy_array.py.

◆ test_argument_conversions()

def test_numpy_array.test_argument_conversions (   forcecast,
  contiguity,
  noconvert 
)

Definition at line 541 of file test_numpy_array.py.

◆ test_array_attributes()

def test_numpy_array.test_array_attributes ( )

Definition at line 30 of file test_numpy_array.py.

◆ test_array_create_and_resize()

def test_numpy_array.test_array_create_and_resize ( )

Definition at line 471 of file test_numpy_array.py.

◆ test_array_failure()

def test_numpy_array.test_array_failure ( )

Definition at line 422 of file test_numpy_array.py.

◆ test_array_resize()

def test_numpy_array.test_array_resize ( )

Definition at line 443 of file test_numpy_array.py.

◆ test_array_unchecked_dyn_dims()

def test_numpy_array.test_array_unchecked_dyn_dims ( )

Definition at line 410 of file test_numpy_array.py.

◆ test_array_unchecked_fixed_dims()

def test_numpy_array.test_array_unchecked_fixed_dims (   msg)

Definition at line 384 of file test_numpy_array.py.

◆ test_array_view()

def test_numpy_array.test_array_view ( )

Definition at line 477 of file test_numpy_array.py.

◆ test_array_view_invalid()

def test_numpy_array.test_array_view_invalid ( )

Definition at line 486 of file test_numpy_array.py.

◆ test_at()

def test_numpy_array.test_at (   arr)

Definition at line 120 of file test_numpy_array.py.

◆ test_at_fail()

def test_numpy_array.test_at_fail (   arr,
  dim 
)

Definition at line 113 of file test_numpy_array.py.

◆ test_bounds_check()

def test_numpy_array.test_bounds_check (   arr)

Definition at line 154 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 280 of file test_numpy_array.py.

◆ test_constructors()

def test_numpy_array.test_constructors ( )

Definition at line 290 of file test_numpy_array.py.

◆ test_data()

def test_numpy_array.test_data (   arr,
  args,
  ret 
)

Definition at line 104 of file test_numpy_array.py.

◆ test_dim_check_fail()

def test_numpy_array.test_dim_check_fail (   arr)

Definition at line 79 of file test_numpy_array.py.

◆ test_dtype_refcount_leak()

def test_numpy_array.test_dtype_refcount_leak ( )

Definition at line 583 of file test_numpy_array.py.

◆ test_dtypes()

def test_numpy_array.test_dtypes ( )

Definition at line 9 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 531 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 376 of file test_numpy_array.py.

◆ test_index_offset()

def test_numpy_array.test_index_offset (   arr,
  args,
  ret 
)

Definition at line 72 of file test_numpy_array.py.

◆ test_index_using_ellipsis()

def test_numpy_array.test_index_using_ellipsis ( )

Definition at line 517 of file test_numpy_array.py.

◆ test_initializer_list()

def test_numpy_array.test_initializer_list ( )

Definition at line 436 of file test_numpy_array.py.

◆ test_isinstance()

def test_numpy_array.test_isinstance ( )

Definition at line 285 of file test_numpy_array.py.

◆ test_make_c_f_array()

def test_numpy_array.test_make_c_f_array ( )

Definition at line 173 of file test_numpy_array.py.

◆ test_make_empty_shaped_array()

def test_numpy_array.test_make_empty_shaped_array ( )

Definition at line 180 of file test_numpy_array.py.

◆ test_mutate_data()

def test_numpy_array.test_mutate_data (   arr)

Definition at line 140 of file test_numpy_array.py.

◆ test_mutate_readonly()

def test_numpy_array.test_mutate_readonly (   arr)

Definition at line 128 of file test_numpy_array.py.

◆ test_numpy_view()

def test_numpy_array.test_numpy_view (   capture)

Definition at line 247 of file test_numpy_array.py.

◆ test_overload_resolution()

def test_numpy_array.test_overload_resolution (   msg)

Definition at line 306 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 647 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 637 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 627 of file test_numpy_array.py.

◆ test_reshape_initializer_list()

def test_numpy_array.test_reshape_initializer_list ( )

Definition at line 492 of file test_numpy_array.py.

◆ test_reshape_tuple()

def test_numpy_array.test_reshape_tuple ( )

Definition at line 502 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 663 of file test_numpy_array.py.

◆ test_round_trip_float()

def test_numpy_array.test_round_trip_float ( )

Definition at line 594 of file test_numpy_array.py.

◆ test_wrap()

def test_numpy_array.test_wrap ( )

Definition at line 189 of file test_numpy_array.py.

◆ UnwrapPyValueHolder()

def test_numpy_array.UnwrapPyValueHolder (   vhs)

Definition at line 623 of file test_numpy_array.py.

◆ WrapWithPyValueHolder()

def test_numpy_array.WrapWithPyValueHolder ( values)

Definition at line 619 of file test_numpy_array.py.

Variable Documentation

◆ np

test_numpy_array.np

Definition at line 6 of file test_numpy_array.py.



gtsam
Author(s):
autogenerated on Tue Jun 25 2024 03:14:38