Skip to content
Snippets Groups Projects
Commit a59698d0 authored by Maxim Gonchar's avatar Maxim Gonchar
Browse files

feat: add marks for Sum and SumSq

parent d667e727
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ from ..typefunctions import (
class Sum(FunctionNode):
"""Sum of all the inputs together"""
_mark = 'Σ'
def __init__(self, *args, **kwargs):
kwargs.setdefault(
"missing_input_handler", MissingInputAddOne(output_fmt="result")
......
......@@ -14,6 +14,7 @@ class SumSq(FunctionNode):
"""Sum of the squared of all the inputs"""
_buffer: ndarray
_mark = 'Σ()²'
def __init__(self, *args, **kwargs):
kwargs.setdefault(
"missing_input_handler", MissingInputAddOne(output_fmt="result")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment