andes.core.service.IdxRepeat#
- class andes.core.service.IdxRepeat(u, ref, **kwargs)[source]#
Helper class to repeat IdxParam.
This class has the same functionality as
andes.core.service.NumRepeatbut only operates on IdxParam, DataParam or NumParam.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.