[vtk-developers] Additional math functionality
Philippe P. Pebay
pppebay at ca.sandia.gov
Fri Nov 4 15:40:15 EST 2005
John Platt wrote:
> Just a comment on math functions that require 2D arrays as arguments.
> When the dimensions are known at compile time, I find it more convenient
> to declare, say,
>
> double[3][3] myArray;
>
> rather than
>
> double* myArrayPtrs[3];
>
> Jacobi()is a case in mind.
Maybe, maybe not. The double declaration may yield problems when interfacing with Fortran,
doesn't it ?
> Some additional 3x3 matrix transpose functionality would also be useful
> and a 2nd order tensor transformation
Sounds good to me.
And, BTW, the more I think of it, the more it seems that vtkMath may grow a lot -- and as Andy
was also sharing my opinion that we should leave vtkPolynomialSystem apart from vtkMath, I wonder
if we could not split the math tools into a few classes, e.g.,:
1. algebra (vector and tensor manipulation and operators over such, combinatorics)
2. solvers (including linear solvers)
3. vtkPolynomialSystem (that allows symbolic manipulation of polynomials, and systems
of such -- which of course includes manipulating linear systems)
4. and a general vtkMath where we would put useful stuff that cannot be attached to anything else.
P.
> I am not sure whether a templated matrix class is worthwhile.
>
> John.
>
> -----Original Message-----
> From: vtk-developers-bounces+jcplatt=lineone.net at vtk.org
> [mailto:vtk-developers-bounces+jcplatt=lineone.net at vtk.org] On Behalf Of
> Will Schroeder
> Sent: 03 November 2005 12:08
> To: vtk-developers at vtk.org
> Subject: [vtk-developers] Additional math functionality
>
> There has been a request by several VTK developers to move some math
> functionality into VTK (mainly polynomial root solvers). We are
> talking several thousand lines of code. Of course we could just cram
> it into vtkMath, take the ITK approach and include a math library, or
> create new math classes, etc. At this point I am looking for opinions.
>
> Will
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>
--
Philippe P. Pebay | pppebay at ca.sandia.gov
Sandia National Laboratories | Phone: +1 925 294 2024
PO Box 969, MS 9051 | Cell : +1 925 784 3255
Livermore, CA 94550 U.S.A. | Fax : +1 925 294 2595
More information about the vtk-developers
mailing list