- Thank you received: 0
Output in binary form
4 years 4 months ago #2952
by gekats
Output in binary form was created by gekats
Dear all,
I would to ask if there is a way to access the entries of a.mat or gfu.vec in binary form, preferably without any conversion to standard decimal float form.
Is there any way to do this?
I would greatly appreciate any help.
Best regards,
George
I would to ask if there is a way to access the entries of a.mat or gfu.vec in binary form, preferably without any conversion to standard decimal float form.
Is there any way to do this?
I would greatly appreciate any help.
Best regards,
George
4 years 4 months ago #2975
by joachim
Replied by joachim on topic Output in binary form
Hi George,
you can get a numpy - view from NGSolve vectors and matrices.
you can query the three arrays from the CSR sparse matrix format.
an example is attached.
best, Joachim
you can get a numpy - view from NGSolve vectors and matrices.
you can query the three arrays from the CSR sparse matrix format.
an example is attached.
best, Joachim
Attachments:
Time to create page: 0.116 seconds