Re: [Gegl-developer] API change for samplers to pass inverse Jacobian data to samplers

2009-06-29 Thread Martin Nordholts
On 06/25/2009 10:50 PM, Adam Turcotte wrote:
 My question at the moment is: what is the best way to pass this data
 to the sampler?


I feel bad about you not getting a reply, so I want to give a reply even 
though it's not a super helpful one:

Use whatever way you can come up with and that works for you. If it 
turns out we don't like your approach for whatever reason, we'll take it 
from there.

Best regards,
Martin

___
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


Re: [Gegl-developer] API change for samplers to pass inverse Jacobian data to samplers

2009-06-29 Thread Nicolas Robidoux

Martin Nordhotls wrote:
 Personally I don't see the point in duplicating a matrix lib in
 every software, i.e. I question the introduction of GeglMatrix3 in
 the first place, I mean there certainly must be high quality libs
 for matrix operations out there, but that's a different story...

IMHO, when all you are dealing with are 3x3 matrices (which are not
arbitrary 3x3, since they represent affine + perspective
transformations), it is likely that a general purpose matrix library
would be slower. Even more so with 2x2.

So, my vote is actually for not library.

Nicolas Robidoux


___
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


Re: [Gegl-developer] API change for samplers to pass inverse Jacobian data to samplers

2009-06-29 Thread Martin Nordholts
On 06/29/2009 09:53 PM, Nicolas Robidoux wrote:
 IMHO, when all you are dealing with are 3x3 matrices (which are not
 arbitrary 3x3, since they represent affine + perspective
 transformations), it is likely that a general purpose matrix library
 would be slower. Even more so with 2x2.

 So, my vote is actually for not library.


I'd expect any high quality matrix library to provide optimized routines 
and data structures for 3x3 matrices.

  / Martin

___
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


Re: [Gegl-developer] API change for samplers to pass inverse Jacobian data to samplers

2009-06-29 Thread Adam Turcotte
On Mon, Jun 29, 2009 at 3:44 PM, Martin Nordholtsense...@gmail.com wrote:
 Since GeglMatrix3 exists, GeglMatrix2 also should exist for consistency.

Should GeglMatrix2 also reside within gegl-matrix.c, or should it be
separate? I can quickly create GeglMatrix2 for the purposes of passing
Jacobian information.



Adam Turcotte
___
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer