This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

why the type of A is "Vector" but not "Matrix" after assemble(a,tensor=A)

0 votes

why the type of A is "Vector" but not "Matrix" after assemble(a,tensor=A)?
And what is the exact meaning of 'tensor'?

I appreciate your help very much!!!

asked Nov 9, 2016 by fanronghong FEniCS User (1,680 points)

You need to post more code to get a meaningful answer. Tensor can refer to a tensor-like object of any dimension (typically a Vector or a Matrix).

...