forcad icon indicating copy to clipboard operation
forcad copied to clipboard

Switch to column-major layout

Open gha3mi opened this issue 4 months ago • 0 comments

Currently uses row-major layout. Example:

Tgc(i,:) = kron( &
    basis_bspline(Xt(i,2), knot2, nc(2), degree(2)), &
    basis_bspline(Xt(i,1), knot1, nc(1), degree(1)) )

Column-major layout would look like:

Tgc(:,i) = kron( &
    basis_bspline(Xt(2,i), knot2, nc(2), degree(2)), &
    basis_bspline(Xt(1,i), knot1, nc(1), degree(1)) )

Switching requires consistent updates across the entire library. Consider for a future major release.

gha3mi avatar Aug 01 '25 15:08 gha3mi