code: def c_support_code_apply(self, node, name):
      float_type = node.inputs[0].type.dtype_specs()[1]
      return f"""
          /* Computes: x = a*x*x + b*x + c for x in tensor. */
          int quadratic_{name}(PyArrayObject* tensor, {float_type} a, {float_type} b, {float_type} c) {{
              NpyIter* iterator = NpyIter_New(tensor,
                  NPY_ITER_READWRITE | NPY_ITER_EXTERNAL_LOOP | NPY_ITER_REFS_OK,
                  NPY_KEEPORDER, NPY_NO_CASTING, NULL);
              if(iterator == NULL) {{
                  PyErr_SetString(PyExc_RuntimeError, "Unable to iterate over a tensor for an elemwise operation.");
                  return -1;
              }}
              NpyIter_IterNextFunc* get_next = NpyIter_GetIterNext(iterator, NULL);
              char** data_ptr = NpyIter_GetDataPtrArray(iterator);
              npy_intp* stride_ptr = NpyIter_GetInnerStrideArray(iterator);
              npy_intp* innersize_ptr = NpyIter_GetInnerLoopSizePtr(iterator);
              do {{
                  char* data = *data_ptr;
                  npy_intp stride = *stride_ptr;
                  npy_intp count = *innersize_ptr;
                  while(count) {{
                      {float_type} x = *(({float_type}*)data);
                      *(({float_type}*)data) = a*x*x + b*x + c;
                      data += stride;
                      --count;
                  }}
              }} while(get_next(iterator));
              NpyIter_Deallocate(iterator);
              return 0;
          }}
          """
  
imports: import numpy
  import pytest
  import pytensor
  from pytensor import tensor
  from pytensor.graph.basic import Apply
  from pytensor.link.c.op import COp, ExternalCOp
  from pytensor.link.c.params_type import Params, ParamsType
  from pytensor.link.c.type import EnumList, Generic
  from pytensor.scalar import ScalarType
  from pytensor.tensor.type import TensorType, matrix
  from tests import unittest_tools
label_desc: Use image node_id 5 for calling the QuadraticOpFunc obj's underlying member method code with example usage: obj.c_support_code_apply(node, name) and returns: str, name, str, float_type, str, float_type, str, float_type, str, float_type, str, float_type, str, float_type, str