This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 1084 - Allow custom type for indices in member functions in Tensor class
Summary: Allow custom type for indices in member functions in Tensor class
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Tensor (show other bugs)
Version: 3.3 (current stable)
Hardware: All All
: Normal Feature Request
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-09 22:35 UTC by Gabriel Nützi
Modified: 2019-12-04 15:01 UTC (History)
5 users (show)



Attachments
patch for Tensor.h and tests and some macro (32.58 KB, patch)
2015-10-09 22:35 UTC, Gabriel Nützi
no flags Details | Diff

Description Gabriel Nützi 2015-10-09 22:35:49 UTC
Created attachment 611 [details]
patch for Tensor.h and tests and some macro

Allow custom type for indices in functions in Tensor class
(TensorBase has not yet been modified, since it is not known if this is good code :-)), please review :-)


Example:

 Tensor<float, 4, DataLayout> tensor(2, 3, 5, 7); 

 Matrix<unsigned int , 4, 1> coeff(1,2,4,1);

 tensor.coeff( coeff );
Comment 1 Nobody 2019-12-04 15:01:52 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/1084.

Note You need to log in before you can comment on or make changes to this bug.