andes.core.service.OperationService#
- class andes.core.service.OperationService(name=None, tex_name=None, info=None)[source]#
Base class for a type of Service which performs specific operations. OperationService may not use the assign_memory from BaseService, because it can have a different size.
This class cannot be used by itself.
See also
Methods
assign_memory(n)Assign memory for
self.vand set the array to zero.get_names()Return name in a list
Attributes
class_nameReturn the class name
nReturn the count of values in
self.v.vReturn values stored in self._v.