linalg._testutils

Module Contents

Classes

_FakeMatrix(self,data)
_FakeMatrix2(self,data)

Functions

_get_array(shape,dtype) Get a test array of given shape and data type.
_id(x)
assert_no_overwrite(call,shapes,dtypes=None) Test that a call does not overwrite its input arguments
class _FakeMatrix(data)
__init__(data)
class _FakeMatrix2(data)
__init__(data)
__array__()
_get_array(shape, dtype)

Get a test array of given shape and data type. Returned NxN matrices are posdef, and 2xN are banded-posdef.

_id(x)
assert_no_overwrite(call, shapes, dtypes=None)

Test that a call does not overwrite its input arguments