MatGetColumnVector

Gets the values from a given column of a matrix.

Synopsis

#include "petscmat.h"  
int MatGetColumnVector(Mat A,Vec yy,int col)
Not Collective

Input Parameters

A - the matrix
yy - the vector
c - the column requested (in global numbering)

Contributed by: Denis Vanderstraeten

Keywords

matrix, column, get

See Also

MatGetRow(), MatGetDiagonal()

Level:advanced
Location:
src/mat/utils/getcolv.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages