Table Of Contents

Previous topic

Speect Plug-ins Python API

Next topic

speect.matrix_float – Floating Point Matrix

speect.array_float – Floating Point Arrays

class speect.array_float.SArrayFloat(*args)

SArrayFloat(flist)

A native Speect class for containing an array (vector) of floating point values. Create a new object, that contains an array of floating point values.

Parameters:flist (list) – A Python list containing only floating point values.
Returns:Newly created SArrayFloat object.
Return type:SArrayFloat
SArrayFloat.get()

get()

Return a copy of this SArrayFloat object as a Python list of floating point values.

Returns:Python list of floating point values.
Return type:list
SArrayFloat.count

Return a count of the number of elements in the SArrayFloat object.

Returns:Number of elements in the SArrayFloat object.
Return type:int

speect.array_int – Integer Arrays

class speect.array_int.SArrayInt(*args)

SArrayInt(ilist)

A native Speect class for containing an array (vector) of integer values. Create a new object, that contains an array of integer point values.

Parameters:ilist (list) – A Python list containing only integer values.
Returns:Newly created SArrayInt object.
Return type:SArrayInt
SArrayInt.get()

get()

Return a copy of this SArrayInt object as a Python list of integer values.

Returns:Python list of integer values.
Return type:list
SArrayInt.count

Return a count of the number of elements in the SArrayInt object.

Returns:Number of elements in the SArrayInt object.
Return type:int