This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Can Eigen support the computation of 128-bit number?

Tags: None
(comma "," separated)
wqruan
Registered Member
Posts
1
Karma
0
I want to apply Eigen to perform matrix calculation and the matrix elements are 128bit numbers. Can Eigen provide this support?
andrew-dy
Registered Member
Posts
15
Karma
0
I found this link to an Eigen 3.4.0 doc page that describes the process and includes an example:
https://eigen.tuxfamily.org/dox/TopicCustomizing_CustomScalar.html#user_defined_scalars
It seem you can add custom support for user-defined scalar type.
You need to make sure certain operators are defined, implement a traits template class specialization, and define certain operations on your type.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]