Skip to content

logo

Title: Eco.Math.FFT1 Software Component Specification

USPD: US.ECO.00003-01 90
Component Name: Eco.Math.FFT1
Short Description (max 300 char.): implements Fast Fourier Transform (FFT) operations
Component Use Category: MATH_ALGORITHMS
Component Type: UTILITY
CID: 99A58C5314CC4D0AB0062A865E3EA68D
Marketplace URL: https://ecoos.dev/product/61ddbb3c-0f72-4382-b936-d3913b0fd708
Status: Draft
Modified Date: November 8, 2022
Version: 1.0

Tags: Fast Fourier Transform, FFT

AuthorsCompany
Vladimir BashevPEERF

Table of Contents

1. Overview

1.1. Introduction

1.2. Notes

1.3. Links

2. Eco.MathFFT1 Component

3. IECOMathFFT1 Interface

3.1. IEcoMathFFT1 interface IDL descriptor

3.1.1. fft function

3.1.2. ifft function

3.1.3. fft2 function

3.1.4. ifft2 function

4. Error codes

Appendix A: Sample code and Training programs

1. Overview

This document describes the requirements for the implementation of the EcoMathFFT1 component.

1.1. Introduction

Description.

1.2. Notes

  • Keywords

1.3. Links

This paragraph contains links to the component in Marketplace and to other information to help understanding this document:

Available in Marketplace at: https://ecoos.dev/product/61ddbb3c-0f72-4382-b936-d3913b0fd708


2. Eco.MathFFT1 Component

The Eco.MathFFT1 component implements Fast Fourier Transfrom operations
The component has the following features: TBA


3. IECOMathFFT1 Interface


3.1. IEcoMathFFT1 interface IDL descriptor

cpp
import "IEcoBase1.h"  
[  
object,  
uguid(A84A0702-41C8-4D68-AAEC-1575FBAFDE9E),  
]  
interface IEcoMathFFT1 : IEcoUnknown {  
  
int16_t	fft	([in] ECO_DOUBLE_COMPLEX_T *X, [in] int16_t N, [out] ECO_DOUBLE_COMPLEX_T **Y);  
	  
int16_t	ifft	([in] ECO_DOUBLE_COMPLEX_T *X, [in] int16_t N, [out] ECO_DOUBLE_COMPLEX_T **Y);  
	  
int16_t	fft2	([in] ECO_DOUBLE_COMPLEX_T *X, [in] int16_t M, [in] int16_t N, [out] ECO_DOUBLE_COMPLEX_T **Y);  
	  
int16_t	ifft2	([in] ECO_DOUBLE_COMPLEX_T *X, [in] int16_t M, [in] int16_t N, [out] ECO_DOUBLE_COMPLEX_T **Y);  
}

3.1.1. fft function

The function returns the Fourier transform along the dimension **Y.

3.1.2. ifft function

The function returns the inverse Fourier transform along the dimension **Y.

3.1.3. fft2 function

The function truncates *X or pads *X with trailing zeros to form an M-by-N matrix before computing the transform.

3.1.4. ifft2 function

The function


4. Error codes

The following table contains the error codes.

Error codeValueDescription
ERR_ECO_SUCCESES0x0000Operation successful.
ERR_ECO_UNEXPECTED0xFFFFUnexpected condition.
ERR_ECO_POINTER0xFFEENULL was passed incorrectly for a pointer value.
ERR_ECO_NOINTERFACE0xFFEDNo such interface supported.
ERR_ECO_COMPONENT_NOTFOUND0xFFE9The component was not found.

Appendix A: Sample code and Training programs