code: def c_code(self, node, name, inputs, outputs, sub):
      return """
          %(float_type)s a = (%(float_type)s) (*(npy_float64*) PyArray_GETPTR1(%(coeff)s->a, 0)); // 0-D TensorType.
          %(float_type)s b =                                                   %(coeff)s->b;      // ScalarType.
          %(float_type)s c =                 (%(float_type)s) PyFloat_AsDouble(%(coeff)s->c);     // Generic.
          Py_XDECREF(%(Y)s);
          %(Y)s = (PyArrayObject*)PyArray_EMPTY(PyArray_NDIM(%(X)s), PyArray_DIMS(%(X)s), PyArray_TYPE(%(X)s), PyArray_IS_F_CONTIGUOUS(%(X)s));
          if (PyArray_CopyInto(%(Y)s, %(X)s) != 0) {
              PyErr_SetString(PyExc_RuntimeError, "Unable to copy input into output.");
              %(fail)s
          };
          if (quadratic_%(name)s(%(Y)s, a, b, c) != 0) {
              PyErr_SetString(PyExc_RuntimeError, "Unable to compute quadratic function.");
              %(fail)s
          }
          """ % dict(
          name=name,
          coeff=sub["params"],
          fail=sub["fail"],
          X=inputs[0],
          Y=outputs[0],
          float_type=node.inputs[0].type.c_element_type(),
      )
  
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 6 for calling the QuadraticOpFunc obj's underlying member method code with example usage: obj.c_code(node, name, inputs, outputs, sub) and returns: unknown