[vtkusers] vtkMath::LUFactorLinearSystem
Adriano Gagliardi
agagliardi at ara.co.uk
Mon Nov 23 08:51:00 EST 2009
Excellent! Thanks for that, David.
Yes, it would be nice if the interface was more similar in functionality to
the Ublas libraries provided with Boost. I'd be happy to vote for that.
Cheers,
Adriano
===================================
Adriano Gagliardi MEng PhD
Project Scientist
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford
Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of David Doria
Sent: 23 November 2009 13:15
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] vtkMath::LUFactorLinearSystem
On Mon, Nov 23, 2009 at 7:47 AM, Adriano Gagliardi <agagliardi at ara.co.uk>
wrote:
> Dear All,
>
> I'd like to use vtk's implementation of LU factorisation, but I am not
> sure how to prepare the type of argument it requires. The function header
is:
>
> int vtkMath::LUFactorLinearSystem( double **A, int *index, int size,
> double *tmpSize );
>
> The issue is the first argument, double **A, which I believe is a list
> of pointers to pointers to doubles? Is this correct? Can someone
> provide an example of how to construct this so that it could be used
> as input into the function, please?
>
> Regards,
>
> Adriano
>
>
> ===================================
>
> Adriano Gagliardi MEng PhD
The interfaces to vtkMath functions are quite "old school. Here is an
example and a nice helper function to create a matrix in a civilized
way:
http://www.cmake.org/Wiki/Quadric_Surface_Fitting
The create_matrix function is what I'm referring to.
Please vote to include a function like this in VTK and revamp the vtkMatrix
function interfaces:
http://vtk.uservoice.com/pages/31508-general/suggestions/369820-create-a-mat
rix-class-and-use-it-for-vtkmath-function-interfaces?ref=title
Thanks,
David
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
---------------------------
This email contains information that is private and confidential and is intended only for the addressee. If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.
Aircraft Research Association Ltd. Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245
More information about the vtkusers
mailing list