Plugins
demo_plugin.cpp File Reference

Classes

class  ug::DemoPlugin::DemoClass
 A basic class used to demonstrate registration of classes for scripting. More...
 

Namespaces

 ug
 
 ug::DemoPlugin
 

Typedefs

typedef CPUAlgebra::matrix_type ug::DemoPlugin::matrix_type
 Sparse matrix type as defined in lib_algebra/cpu_algebra/sparsematrix.h. More...
 
typedef CPUAlgebra::vector_type ug::DemoPlugin::vector_type
 Vector type as defined in lib_algebra/cpu_algebra/vector.h. More...
 

Functions

number ug::DemoPlugin::DemoMatCompSumFast (matrix_type &m)
 
number ug::DemoPlugin::DemoMatCompSumSlow (matrix_type &m)
 Calculates the sum of all coefficients of the given matrix and returns it. More...
 
void ug::DemoPlugin::DemoPluginSaysHi ()
 Prints a welcome message. More...
 
number ug::DemoPlugin::DemoVecCompSum (vector_type &v)
 Calculates the sum of all coefficients of the given vector and returns it. More...
 
void ug::InitUGPlugin_DemoPlugin (Registry *reg, string grp)