#include #include "toeplitz.h" #include "floatComplex.h" #include "stdlib.h" #include "string.h" #include "cat.h" /*Function to build a Toeplitz Matrix for inputs of SingleComplex datatype*/ void ctoeplitza(floatComplex* inp1,int size1,floatComplex* inp2,int size2,floatComplex* oup) { if ((creals(inp1[0])!=creals(inp2[0]))&&(cimags(inp1[0])!=cimags(inp2[0]))) { printf("Error!The first elements of the Vectors are not equal."); // First element of both input vectors must be equal for Toeplitz. return; } int i, j; for(i=0;i