Variables | |
m | |
np | |
ref | |
def test_eigen_matrix.array_copy_but_one | ( | a, | |
r, | |||
c, | |||
v | |||
) |
Definition at line 256 of file test_eigen_matrix.py.
def test_eigen_matrix.assert_equal_ref | ( | mat | ) |
Definition at line 22 of file test_eigen_matrix.py.
def test_eigen_matrix.assert_keeps_alive | ( | cl, | |
method, | |||
* | args | ||
) |
Definition at line 397 of file test_eigen_matrix.py.
def test_eigen_matrix.assert_sparse_equal_ref | ( | sparse_mat | ) |
Definition at line 26 of file test_eigen_matrix.py.
def test_eigen_matrix.assign_both | ( | a1, | |
a2, | |||
r, | |||
c, | |||
v | |||
) |
Definition at line 251 of file test_eigen_matrix.py.
def test_eigen_matrix.test_block_runtime_error_type_caster_eigen_ref_made_a_copy | ( | ) |
Definition at line 222 of file test_eigen_matrix.py.
def test_eigen_matrix.test_both_ref_mutators | ( | ) |
Tests a complex chain of nested eigen/numpy references
Definition at line 566 of file test_eigen_matrix.py.
def test_eigen_matrix.test_cpp_casting | ( | ) |
Definition at line 118 of file test_eigen_matrix.py.
def test_eigen_matrix.test_custom_operator_new | ( | ) |
Using Eigen types as member variables requires a class-specific operator new with proper alignment
Definition at line 810 of file test_eigen_matrix.py.
def test_eigen_matrix.test_defaults | ( | doc | ) |
Definition at line 723 of file test_eigen_matrix.py.
def test_eigen_matrix.test_dense | ( | ) |
Definition at line 39 of file test_eigen_matrix.py.
def test_eigen_matrix.test_dense_signature | ( | doc | ) |
Definition at line 696 of file test_eigen_matrix.py.
def test_eigen_matrix.test_eigen_keepalive | ( | ) |
Definition at line 412 of file test_eigen_matrix.py.
def test_eigen_matrix.test_eigen_ref_life_support | ( | ) |
Ensure the lifetime of temporary arrays created by the `Ref` caster The `Ref` caster sometimes creates a copy which needs to stay alive. This needs to happen both for directs casts (just the array) or indirectly (e.g. list of arrays).
Definition at line 667 of file test_eigen_matrix.py.
def test_eigen_matrix.test_eigen_ref_mutators | ( | ) |
Tests Eigen's ability to mutate numpy values
Definition at line 445 of file test_eigen_matrix.py.
def test_eigen_matrix.test_eigen_ref_to_python | ( | ) |
Definition at line 242 of file test_eigen_matrix.py.
def test_eigen_matrix.test_eigen_return_references | ( | ) |
Tests various ways of returning references and non-referencing copies
Definition at line 262 of file test_eigen_matrix.py.
def test_eigen_matrix.test_fixed | ( | ) |
Definition at line 30 of file test_eigen_matrix.py.
def test_eigen_matrix.test_issue1105 | ( | ) |
Issue 1105: 1xN or Nx1 input arrays weren't accepted for eigen compile-time row vectors or column vector
Definition at line 795 of file test_eigen_matrix.py.
def test_eigen_matrix.test_issue738 | ( | ) |
Ignore strides on a length-1 dimension (even if they would be incompatible length > 1)
Definition at line 775 of file test_eigen_matrix.py.
def test_eigen_matrix.test_mutator_descriptors | ( | ) |
Definition at line 86 of file test_eigen_matrix.py.
def test_eigen_matrix.test_named_arguments | ( | ) |
Definition at line 728 of file test_eigen_matrix.py.
def test_eigen_matrix.test_negative_stride_from_python | ( | msg | ) |
Eigen doesn't support (as of yet) negative strides. When a function takes an Eigen matrix by copy or const reference, we can pass a numpy array that has negative strides. Otherwise, an exception will be thrown as Eigen will not be able to map the numpy array.
Definition at line 173 of file test_eigen_matrix.py.
def test_eigen_matrix.test_nocopy_wrapper | ( | ) |
Definition at line 610 of file test_eigen_matrix.py.
def test_eigen_matrix.test_nonunit_stride_from_python | ( | ) |
Definition at line 150 of file test_eigen_matrix.py.
def test_eigen_matrix.test_nonunit_stride_to_python | ( | ) |
Definition at line 228 of file test_eigen_matrix.py.
def test_eigen_matrix.test_numpy_ref_mutators | ( | ) |
Tests numpy mutating Eigen matrices (for returned Eigen::Ref<...>s)
Definition at line 514 of file test_eigen_matrix.py.
def test_eigen_matrix.test_partially_fixed | ( | ) |
Definition at line 48 of file test_eigen_matrix.py.
def test_eigen_matrix.test_pass_readonly_array | ( | ) |
Definition at line 141 of file test_eigen_matrix.py.
def test_eigen_matrix.test_sparse | ( | ) |
Definition at line 749 of file test_eigen_matrix.py.
def test_eigen_matrix.test_sparse_signature | ( | doc | ) |
Definition at line 759 of file test_eigen_matrix.py.
def test_eigen_matrix.test_special_matrix_objects | ( | ) |
Definition at line 681 of file test_eigen_matrix.py.
def test_eigen_matrix.test_zero_length | ( | func, | |
sizes | |||
) |
Ignore strides on a length-0 dimension (even if they would be incompatible length > 1)
Definition at line 790 of file test_eigen_matrix.py.
test_eigen_matrix.m |
Definition at line 8 of file test_eigen_matrix.py.
test_eigen_matrix.np |
Definition at line 7 of file test_eigen_matrix.py.
test_eigen_matrix.ref |
Definition at line 11 of file test_eigen_matrix.py.