Giter Site home page Giter Site logo

Complex support about matft HOT 9 OPEN

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024
Complex support

from matft.

Comments (9)

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

Basically I store complex data as DSPComplex, and then pass DSPSplitComplex(realptr, imgptr)with 2 times strides to vDSP function

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

To convert DSPComplex into DSPSplitComplex, use vDSP_ctoz

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

Hmm, Create another object as MfArrayComplex?

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

Create MfComplexArray with realdata and imagdata simply!

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

ToDo

  • Basic Arithmetic
  • Angle
  • Conjugate

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

MfComplexArray inherent from MfArray and MfComplexData inherit from MfData?

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

How about withUnsafeComplexPointer?

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

Complex addition was implemented by ca948f4.
But, this implementation will be hard for other modification...
So, should i integrate MfComplexArray into MfArray?

from matft.

jjjkkkjjj avatar jjjkkkjjj commented on May 23, 2024

ToDo list

  • Arithmetic Operation
  • Angle, Conjugate and Absolute
  • Math (partial: sin,cos,tan,exp,log)
  • Basic Subscription Getter
  • Basic Subscription Setter
  • Boolean Indexing Getter
  • Boolean Indexing Setter
  • Fancy Indexing Getter
  • Fancy Indexing Setter

from matft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.