petsc-3.7.1 2016-05-15
Report Typos and Errors

MatSeqDenseSetLDA

Declare the leading dimension of the user-provided array

Synopsis

#include "petscmat.h" 
PetscErrorCode  MatSeqDenseSetLDA(Mat B,PetscInt lda)

Input parameter

A - the matrix Many br
lda - the leading dimension Many br

Notes

This routine is to be used in conjunction with MatSeqDenseSetPreallocation(); Many brit asserts that the preallocation has a leading dimension (the LDA parameter Many brof Blas and Lapack fame) larger than M, the first dimension of the matrix. Many br

Many br

Keywords

dense, matrix, LAPACK, BLAS

See Also

MatCreate(), MatCreateSeqDense(), MatSeqDenseSetPreallocation(), MatSetMaximumSize()

Level:intermediate
Location:
src/mat/impls/dense/seq/dense.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/mat/examples/tutorials/ex2.c.html
src/ksp/ksp/examples/tutorials/ex30.c.html