[Lapackpp-devel] LaLinearSolve overloading Question
Status: Beta
Brought to you by:
cstim
From: Terrrance O'R. <to...@us...> - 2004-12-18 02:30:57
|
Hello everyone, I am just beginning to use Lapackpp. So far I am able to create LaGenMatDouble and LaVectorDouble objects and use them with LaLinearSolve to solve a set of linear equations. Now I want to use LaSymmMatDouble (and eventually banded for drift-diffusion) with LaLinearSolve. However, when I do this I get this error: C:/DOCUME~1/TERRAN~1/LOCALS~1/Temp/ccQLbaaa.o(.text+0x316):possoin.cpp: undefined reference to `LaLinearSolve(LaSymmMatDouble const&, LaGenMatDouble&, LaGenMatDouble&)' I thought LaLinearSolve is overloaded such that I can use different objects and it automatically chooses which inversion scheme is appropriate? Is there another header file I need to include? These are the header files I am using now: #include "lafnames.h" #include LA_GEN_MAT_DOUBLE_H #include LA_VECTOR_DOUBLE_H #include LA_SYMM_MAT_DOUBLE_H #include LA_SOLVE_DOUBLE_H #include LA_EXCEPTION_H #include LA_UTIL_H Also, I am working from documentation from Lapack++ v.1.1. Things seem to have changed a bit in the newer versions, is there any more up to date documentation. Thanks for the help, Terrance |