# -*- coding: utf-8 -*-
'''
  fastmat/Polynomial.pxd
 -------------------------------------------------- part of the fastmat package

  Header file for Polynomial class (structural description).


  Author      : wcw
  Introduced  : 2016-10-27
 ------------------------------------------------------------------------------

   Copyright 2016 Sebastian Semper, Christoph Wagner
       https://www.tu-ilmenau.de/ems/

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

 ------------------------------------------------------------------------------
'''
import cython
cimport numpy as np

from .Matrix cimport Matrix

################################################################################
################################################## class Polynomial
cdef class Polynomial(Matrix):

    ############################################## class variables
    cdef public np.ndarray _coeff                # Polynomial coefficients
    cdef public np.ndarray _coeffConj            # Polynomial coefficients,
    #                                            # conjugated to allow speedup

    ############################################## class methods
    cpdef np.ndarray _forward(self, np.ndarray)
    cpdef np.ndarray _backward(self, np.ndarray)
    cpdef np.ndarray _reference(self)
