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
NumReduce
Service for Reducing linearly stored 2-D services into 1-D
NumRepeat
Service for repeating 1-D NumParam/ v-array following a sub-pattern
IdxRepeat
Service for repeating 1-D IdxParam/ v-list following a sub-pattern
Methods
Assign memory for
self.v
and set the array to zero.Return name in a list
Attributes
Return the class name
Return the count of values in
self.v
.Return values stored in self._v.