class Task4Serializer(TaskSerializerBase): matrix_a = MatrixField(child=IntegerField())
class Task5Serializer(TaskSerializerBase): equation = MatrixField(child=CharField())
class Task1Serializer(TaskSerializerBase): coefficient_matrix = MatrixField(child=IntegerField()) constant_terms_vector = ListField(child=IntegerField())
class Answer4Serializer(AnswerSerializerBase): result = MatrixField(child=IntegerField())
class Answer1Serializer(AnswerSerializerBase): which_of_products = ChoiceField(['AB', 'BA']) product = MatrixField(child=IntegerField())
class Answer2Serializer(AnswerSerializerBase): product = MatrixField(child=IntegerField()) trace = IntegerField()