Functions | Variables
test_matrix Namespace Reference

Functions

def test_conversion (function, dtype)
 
def test_conversion_promotion (function, input_dtype, output_dtype)
 

Variables

 bool_t = np.dtype(np.bool_)
 
 complex128_t = np.dtype(np.complex128)
 
 complex256_t = np.dtype(np.clongdouble)
 
 complex64_t = np.dtype(np.complex64)
 
 float32_t = np.dtype(np.float32)
 
 float64_t = np.dtype(np.float64)
 
 int16_t = np.dtype(np.int16)
 
 int32_t = np.dtype(np.int32)
 
 int64_t = np.dtype(np.int64)
 
 int8_t = np.dtype(np.int8)
 
 long_t = np.dtype(np.int32 if platform.system() == "Windows" else np.int64)
 
 longlong_t = np.dtype(np.longlong)
 
 M = eigenpy.emptyMatrix()
 
 M33 = eigenpy.naturals33(verbose)
 
 mat = np.arange(0, 10).reshape(2, 5)
 
 mat1x1 = eigenpy.matrix1x1(value)
 
 mat6 = eigenpy.matrix6(0.0)
 
 Mcheck = np.reshape(np.array(range(9), np.double), [3, 3])
 
 Mref = np.reshape(np.array(range(64), np.double), [8, 8])
 
 Mref_from_base = eigenpy.base(Mref)
 
 Mref_from_plain = eigenpy.plain(Mref)
 
 uint16_t = np.dtype(np.uint16)
 
 uint32_t = np.dtype(np.uint32)
 
 uint64_t = np.dtype(np.uint64)
 
 uint8_t = np.dtype(np.uint8)
 
 ulong_t = np.dtype(np.uint32 if platform.system() == "Windows" else np.uint64)
 
 ulonglong_t = np.dtype(np.ulonglong)
 
 v = eigenpy.emptyVector()
 
float value = 2.0
 
 vcheck = np.array(range(3), np.double).T
 
 vec = np.arange(0, 10)
 
 vec1x1 = eigenpy.vector1x1(value)
 
bool verbose = True
 

Function Documentation

◆ test_conversion()

def test_matrix.test_conversion (   function,
  dtype 
)

Definition at line 189 of file test_matrix.py.

◆ test_conversion_promotion()

def test_matrix.test_conversion_promotion (   function,
  input_dtype,
  output_dtype 
)

Definition at line 265 of file test_matrix.py.

Variable Documentation

◆ bool_t

test_matrix.bool_t = np.dtype(np.bool_)

Definition at line 197 of file test_matrix.py.

◆ complex128_t

test_matrix.complex128_t = np.dtype(np.complex128)

Definition at line 216 of file test_matrix.py.

◆ complex256_t

test_matrix.complex256_t = np.dtype(np.clongdouble)

Definition at line 217 of file test_matrix.py.

◆ complex64_t

test_matrix.complex64_t = np.dtype(np.complex64)

Definition at line 215 of file test_matrix.py.

◆ float32_t

test_matrix.float32_t = np.dtype(np.float32)

Definition at line 212 of file test_matrix.py.

◆ float64_t

test_matrix.float64_t = np.dtype(np.float64)

Definition at line 213 of file test_matrix.py.

◆ int16_t

test_matrix.int16_t = np.dtype(np.int16)

Definition at line 200 of file test_matrix.py.

◆ int32_t

test_matrix.int32_t = np.dtype(np.int32)

Definition at line 202 of file test_matrix.py.

◆ int64_t

test_matrix.int64_t = np.dtype(np.int64)

Definition at line 204 of file test_matrix.py.

◆ int8_t

test_matrix.int8_t = np.dtype(np.int8)

Definition at line 198 of file test_matrix.py.

◆ long_t

test_matrix.long_t = np.dtype(np.int32 if platform.system() == "Windows" else np.int64)

Definition at line 207 of file test_matrix.py.

◆ longlong_t

test_matrix.longlong_t = np.dtype(np.longlong)

Definition at line 209 of file test_matrix.py.

◆ M

test_matrix.M = eigenpy.emptyMatrix()

Definition at line 10 of file test_matrix.py.

◆ M33

test_matrix.M33 = eigenpy.naturals33(verbose)

Definition at line 30 of file test_matrix.py.

◆ mat

test_matrix.mat = np.arange(0, 10).reshape(2, 5)

Definition at line 176 of file test_matrix.py.

◆ mat1x1

test_matrix.mat1x1 = eigenpy.matrix1x1(value)

Definition at line 162 of file test_matrix.py.

◆ mat6

test_matrix.mat6 = eigenpy.matrix6(0.0)

Definition at line 171 of file test_matrix.py.

◆ Mcheck

test_matrix.Mcheck = np.reshape(np.array(range(9), np.double), [3, 3])

Definition at line 25 of file test_matrix.py.

◆ Mref

test_matrix.Mref = np.reshape(np.array(range(64), np.double), [8, 8])

Definition at line 45 of file test_matrix.py.

◆ Mref_from_base

test_matrix.Mref_from_base = eigenpy.base(Mref)

Definition at line 48 of file test_matrix.py.

◆ Mref_from_plain

test_matrix.Mref_from_plain = eigenpy.plain(Mref)

Definition at line 52 of file test_matrix.py.

◆ uint16_t

test_matrix.uint16_t = np.dtype(np.uint16)

Definition at line 201 of file test_matrix.py.

◆ uint32_t

test_matrix.uint32_t = np.dtype(np.uint32)

Definition at line 203 of file test_matrix.py.

◆ uint64_t

test_matrix.uint64_t = np.dtype(np.uint64)

Definition at line 205 of file test_matrix.py.

◆ uint8_t

test_matrix.uint8_t = np.dtype(np.uint8)

Definition at line 199 of file test_matrix.py.

◆ ulong_t

test_matrix.ulong_t = np.dtype(np.uint32 if platform.system() == "Windows" else np.uint64)

Definition at line 208 of file test_matrix.py.

◆ ulonglong_t

test_matrix.ulonglong_t = np.dtype(np.ulonglong)

Definition at line 210 of file test_matrix.py.

◆ v

test_matrix.v = eigenpy.emptyVector()

Definition at line 15 of file test_matrix.py.

◆ value

float test_matrix.value = 2.0

Definition at line 161 of file test_matrix.py.

◆ vcheck

test_matrix.vcheck = np.array(range(3), np.double).T

Definition at line 36 of file test_matrix.py.

◆ vec

test_matrix.vec = np.arange(0, 10)

Definition at line 180 of file test_matrix.py.

◆ vec1x1

test_matrix.vec1x1 = eigenpy.vector1x1(value)

Definition at line 166 of file test_matrix.py.

◆ verbose

bool test_matrix.verbose = True

Definition at line 6 of file test_matrix.py.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Apr 26 2024 02:17:36