romeric / Fastor

A lightweight high performance tensor algebra framework for modern C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

anup12352 opened this issue · comments

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

commented

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)