Testing fastmat Classes and Unit Tests

Fastmat type identifiers

fastmat.inspect.test

class fastmat.inspect.test.TEST

Bases: NAME

ALG = 'algorithm'
ALGORITHM = 'algorithm'
ALG_ARGS = 'algorithmArgs'
ALG_KWARGS = 'algorithmKwargs'
ALG_MATRIX = 'algorithmMatrix'
ARGS = 'testArgs'
CHECK_DATATYPE = 'checkDataType'
CHECK_PROXIMITY = 'checkProximity'
CLASS = 'class'
DATAALIGN = 'dataAlign'
DATAARRAY = 'arrData'
DATACENTER = 'dataDistCenter'
DATACOLS = 'numVectors'
DATAGEN = 'dataGenerator'
DATASHAPE = 'dataShape'
DATASHAPE_T = 'dataShapeBackward'
DATATYPE = 'dataType'
IGNORE = 'ignore'
INIT = 'init'
INITARGS = 'args'
INITKWARGS = 'kwargs'
INIT_VARIANT = 'initVariant'
INSTANCE = 'instance'
KWARGS = 'testKwargs'
NAMING = 'naming'
NAMINGARGS = 'namingArgs'
NUM_COLS = 'numCols'
NUM_ROWS = 'numRows'
OBJECT = 'object'
PARAMALIGN = 'alignment'
QUERY = 'query'
REFALG = 'refAlgorithm'
REFALG_ARGS = 'refAlgorithmArgs'
REFALG_KWARGS = 'refAlgorithmKwargs'
REFERENCE = 'reference'
RESULT_IGNORED = 'testResultIgnored'
RESULT_INFO = 'testInfo'
RESULT_INPUT = 'testInput'
RESULT_OUTPUT = 'testOutput'
RESULT_PROX = 'testResultProximity'
RESULT_REF = 'testReference'
RESULT_TOLERR = 'testTolError'
RESULT_TYPE = 'testResultType'
SKIP = 'skip'
TOL_MINEPS = 'tolMinEps'
TOL_POWER = 'tolPower'
TRANSFORMS = 'transform'
TYPE_EXPECTED = 'typeExpected'
TYPE_PROMOTION = 'typePromotion'
class fastmat.inspect.test.Test(targetClass, **options)

Bases: Worker

Short summary.

Parameters
targetClasstype

Description of parameter targetClass.

**optionstype

Description of parameter **options.

Attributes
_verboseFulltype

Description of attribute _verboseFull.

__init__(targetClass, **options)

Short summary.

Parameters
targetClasstype

Description of parameter targetClass.

**optionstype

Description of parameter **options.

Returns
type

Description of returned object.

findProblems(nameTarget, targetResult)

Short summary.

Parameters
nameTargettype

Description of parameter nameTarget.

targetResulttype

Description of parameter targetResult.

Returns
type

Description of returned object.

printStatus(nameTest, resultTest, lenName=-1, descrVariants='')

Short summary.

Parameters
nameTesttype

Description of parameter nameTest.

resultTesttype

Description of parameter resultTest.

lenNametype

Description of parameter lenName.

descrVariantstype

Description of parameter descrVariants.

Returns
type

Description of returned object.

property verbosity
fastmat.inspect.test.compareResults(test, query)

Short summary.

Parameters
testtype

Description of parameter test.

querytype

Description of parameter query.

Returns
type

Description of returned object.

fastmat.inspect.test.formatResult(result)

Short summary.

Parameters
resulttype

Description of parameter result.

Returns
type

Description of returned object.

fastmat.inspect.test.initTest(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testAlgorithm(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testArray(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testArrays(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testBackward(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testColNorms(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testColNormsColNormalized(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testConjugate(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testFailDump(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testForward(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testGetColsMultiple(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testGetColsSingle(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testGetItem(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testGetRowsMultiple(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testGetRowsSingle(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testGram(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testHermitian(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testInterface(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testLargestSV(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testRowNormalized(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testRowNorms(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.testTranspose(test)

Short summary.

Parameters
testtype

Description of parameter test.

Returns
type

Description of returned object.

fastmat.inspect.test.tryQuery(nameTest, query, argument)