示例#1
0
class Task4Serializer(TaskSerializerBase):
    matrix_a = MatrixField(child=IntegerField())
示例#2
0
class Task5Serializer(TaskSerializerBase):
    equation = MatrixField(child=CharField())
示例#3
0
class Task1Serializer(TaskSerializerBase):
    coefficient_matrix = MatrixField(child=IntegerField())
    constant_terms_vector = ListField(child=IntegerField())
示例#4
0
class Answer4Serializer(AnswerSerializerBase):
    result = MatrixField(child=IntegerField())
示例#5
0
class Answer1Serializer(AnswerSerializerBase):
    which_of_products = ChoiceField(['AB', 'BA'])
    product = MatrixField(child=IntegerField())
示例#6
0
class Answer2Serializer(AnswerSerializerBase):
    product = MatrixField(child=IntegerField())
    trace = IntegerField()