Skip to content
Snippets Groups Projects
Commit 7575d2f5 authored by Niklaus Johner's avatar Niklaus Johner
Browse files

Added FloatMatrix as a vector of FloatList

parent 9060e0fc
Branches
Tags
No related merge requests found
......@@ -18,7 +18,7 @@
#------------------------------------------------------------------------------
__all__=['Correl', 'FileLogSink', 'FloatList', 'GetCurrentLogSink', 'GetPrefixPath', 'GetSharedDataPath', 'GetVerbosityLevel', 'Histogram', 'IntList', 'LogDebug', 'LogError', 'LogInfo', 'LogScript', 'LogSink', 'LogTrace', 'LogVerbose', 'LogWarning', 'Max', 'Mean', 'Median', 'Min', 'MultiLogSink', 'PopLogSink', 'PopVerbosityLevel', 'PushLogSink', 'PushVerbosityLevel', 'Range', 'SetPrefixPath', 'StdDev', 'StreamLogSink', 'StringList', 'StringLogSink', 'Units', 'VERSION', 'VERSION_MAJOR', 'VERSION_MINOR', 'VERSION_PATCH', 'WITH_NUMPY', 'conop', 'geom', 'io', 'mol', 'seq', 'stutil' @ALL_ADDITIONAL_MODULES@]
__all__=['Correl', 'FileLogSink', 'FloatList', 'FloatMatrix', 'GetCurrentLogSink', 'GetPrefixPath', 'GetSharedDataPath', 'GetVerbosityLevel', 'Histogram', 'IntList', 'LogDebug', 'LogError', 'LogInfo', 'LogScript', 'LogSink', 'LogTrace', 'LogVerbose', 'LogWarning', 'Max', 'Mean', 'Median', 'Min', 'MultiLogSink', 'PopLogSink', 'PopVerbosityLevel', 'PushLogSink', 'PushVerbosityLevel', 'Range', 'SetPrefixPath', 'StdDev', 'StreamLogSink', 'StringList', 'StringLogSink', 'Units', 'VERSION', 'VERSION_MAJOR', 'VERSION_MINOR', 'VERSION_PATCH', 'WITH_NUMPY', 'conop', 'geom', 'io', 'mol', 'seq', 'stutil' @ALL_ADDITIONAL_MODULES@]
from _ost_base import *
from stutil import *
......
......@@ -110,4 +110,9 @@ BOOST_PYTHON_MODULE(_ost_base)
.def(vector_indexing_suite<std::vector<int> >())
.def(geom::VectorAdditions<IntList>())
;
typedef std::vector< FloatList > FloatMatrix;
class_<FloatMatrix>("FloatMatrix", init<>())
.def(vector_indexing_suite<FloatMatrix>())
;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment