• Blue_Morpho@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    That sounds like you are describing a function.

    You can have a function where inputting 0 gives a 0 output except certain conditions where an input of 0 gives non zero output. For example y=sin(x) gives 0 every time x=2π. Otherwise it ouputs a non zero number.