使用C ++中的1D FFT进行四元数FFT(Quaternion FFT using 1D FFT in C++)
我目前正在实施在c ++中使用四元数FFT的研究论文。 但是,我找不到任何支持Quaternion FFT的C ++库。 经过一些调查,我发现互联网上有人说可以将四元数FFT过程转换为几个1D复数到复数的FFT。 有谁知道这是怎么做到的吗?
我尝试使用FFTW ++库,它支持一些基本的FFT方法来实现它。 如果有人能提供帮助,我将非常感激。
I am currently implemented research paper that use a Quaternion FFT in c++. However, I could not find any C++ library that support Quaternion FFT. After some surveys, I have found someone on the Internet said that it is possible to convert Quaternion FFT process to several 1D complex-to-complex FFT. Does anyone know how to do that?
I try to use FFTW++ library which supports some basic FFT methods to implement it. I would be really appreciate if anyone could help.
原文:https://stackoverflow.com/questions/37229176
最满意答案
是的我找到了上面的解决方案。 下面我们可以一次创建多个表,
var Realm = require('realm'); const CarSchema = { name: 'Car', properties: { make: 'string', model: 'string', miles: {type: 'int', default: 0}, } }; const PersonSchema = { name: 'Person', properties: { name: 'string', birthday: 'date', cars: {type: 'list', objectType: 'Car'}, picture: {type: 'data', optional: true}, // optional property } }; // Initialize a Realm with Car and Person models let realm = new Realm({schema: [CarSchema, PersonSchema]});
Yes i found solution of above. Following way we can create multiple tables at a time,
var Realm = require('realm'); const CarSchema = { name: 'Car', properties: { make: 'string', model: 'string', miles: {type: 'int', default: 0}, } }; const PersonSchema = { name: 'Person', properties: { name: 'string', birthday: 'date', cars: {type: 'list', objectType: 'Car'}, picture: {type: 'data', optional: true}, // optional property } }; // Initialize a Realm with Car and Person models let realm = new Realm({schema: [CarSchema, PersonSchema]});
相关问答
更多-
Realm Query在多个表中(Realm Query in multiple table)[2023-05-19]
您无法合并两个查询的结果。 相反,您的数据模型应该使用关系 。 You cannot combine the result of two queries. Instead your data model should use relationships. -
它看起来不像是在对象上设置categoryID属性。 这将导致所有这些主机在使用createOrUpdate时使用相同的主键并覆盖相同的对象 要调试并进入Realm代码,您可能需要从源代码构建。 It doesn't look like you are setting the categoryID property on your objects. This would cause all of them to use the same primary key and overwrite the same ...
-
无法在Realm中创建触发器(Can't create trigger in Realm)[2022-12-31]
查看Realm文档的Notifications部分 。 您应该使用通知令牌来监听对User表所做的更改,然后运行将事件保存到令牌的notificationBlock中的History表的代码。 Check out the Notifications section of Realm documentation. You should use a notification token to listen changes made to your User table and then run the code ... -
创建一个新领域(Create a new Realm)[2023-06-13]
您是在尝试创建新Realm还是打开现有的Realm以进行只读访问? 如果你想创建新的Realm,你可以使用这样的默认Realm: let realm = try! Realm() 您还可以指定应在其中创建Realm的自定义路径,请参阅docs中的更多信息。 另请注意,Realm在打开时会生成额外的文件,因此在应用程序的bundle目录中打开它并不是一个好主意。 如果您想在设备上预先填充Realm,请参阅此问题 。 Well now the way I tried to construct the URL ... -
是的我找到了上面的解决方案。 下面我们可以一次创建多个表, var Realm = require('realm'); const CarSchema = { name: 'Car', properties: { make: 'string', model: 'string', miles: {type: 'int', default: 0}, } }; const PersonSchema = { name: 'Person', properties: { ...
-
在SQLite世界中,我会创建一个新表“custom_list_best”, 不,您将拥有一个名为custom_lists的表,其中包含自动增量ID和标识符,以及一个名为join_custom_lists_items的连接表,其中包含custom_lists的ID以及属于该给定自定义列表的任何item的ID。 在Realm世界中,我试图弄清楚Realm是如何工作的,以及构建模型的最佳方法是什么。 如果项目的ID是具体的,并且您需要能够在多个列表中存储相同的Item ,那么为了在两个方向上访问列表,您将需要一 ...
-
领域中的嵌套查询。(Nested Queries in Realm. Swift)[2023-12-01]
弄清楚了: let result = RealmService.shared.realm.objects(Message.self).filter("group.uuid = '2C5E1738-1167-40CB-BE43-C415FD5E6E5D'") 查询的值必须包含在'' Figured it out: let result = RealmService.shared.realm.objects(Message.self).filter("group.uuid = '2C5E1738-1167-4 ... -
Realm中的关系数据库?(Relational database in Realm?)[2020-08-14]
您可以使用RLMArray,其中RLMArray是Realm中用于定义多对多关系的容器类型。 正如官方Realm文档中提到的目标c检查示例一样。 也可以通过这个链接来帮助RLMArray doc You can use RLMArray , where RLMArray is the container type in Realm used to define to-many relationships. As mentioned in the official Realm documentation fo ... -
我不太清楚“检索所有元素”是什么意思。 allFilteredGroups具有所有Group对象。 由于它们链接到Elements对象,因此您可以轻松地遍历它们: for(Group group : allFilteredGroups) { for(Element element : group.getElement()) { Log.d("TEST", "eid = " + element.eid); } } 目前没有简单的方法来压扁最后一个并将所有Element对象放在 ...
-
领域。(realm. remove objects from ListBase)[2022-03-25]
您可以使用dynamicList(_ propertyName: String)通过名称而不是下标检索List属性。 if property.type == .array { try! realm?.write { realm?.delete(dynamicList(property.name)) } } You can use dynamicList(_ propertyName: String) to retrieve List property by name ins ...