romeric / Fastor

A lightweight high performance tensor algebra framework for modern C++
MIT License
752 stars 70 forks source link

Is it possible to access a particular row or column of matrix and perform operation on it only #171

Closed anup12352 closed 1 year ago

anup12352 commented 1 year ago

Is it possible to access a particular row or column of matrix and perform operation on it only ?

romeric commented 1 year ago

Yes, please read the documentation:

Get the 2nd row of a matrix:

A(1, all)

Get the second column of a matriix

A(all, 1)