andes.core.service.FlagGreaterThan#
- class andes.core.service.FlagGreaterThan(u, value=0.0, flag=1, equal=False, name=None, tex_name=None, info=None, cache=True)[source]#
Service for flagging parameters > or >= the given value element-wise.
Parameters that satisfy the comparison (u > or >= value) will flagged as flag (1 by default).
- __init__(u, value=0.0, flag=1, equal=False, name=None, tex_name=None, info=None, cache=True)[source]#
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.v